src: work on awk scripts too, see "src valley" (thanks phil9)

front
Sigrid 2020-12-10 10:33:42 +01:00
parent cef91f23e7
commit d7120ecb77
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ fn dbsrc{
fn go{
type=`{file <$1 | sed 's/stdin: //'}
switch($type){
case 'Ascii'
plumbit $1 '(ascii file)'
case 'rc executable file'
plumbit $1 '(rc executable)'
case *executable* *'plan 9 boot image'*