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

This commit is contained in:
Sigrid 2020-12-10 10:33:42 +01:00
parent cef91f23e7
commit d7120ecb77

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'*