src: work on awk scripts too, see "src valley" (thanks phil9)
This commit is contained in:
parent
cef91f23e7
commit
d7120ecb77
1 changed files with 2 additions and 0 deletions
|
@ -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'*
|
||||
|
|
Loading…
Reference in a new issue