]> git.lizzy.rs Git - plan9front.git/commitdiff
src: work on awk scripts too, see "src valley" (thanks phil9)
authorSigrid <ftrvxmtrx@gmail.com>
Thu, 10 Dec 2020 09:33:42 +0000 (10:33 +0100)
committerSigrid <ftrvxmtrx@gmail.com>
Thu, 10 Dec 2020 09:33:42 +0000 (10:33 +0100)
rc/bin/src

index b2de4dc4c4fb139f4c17f5f2f7e8fcd13c281da2..1855a60442f48fa96dc214b041e955e1c5b711e9 100755 (executable)
@@ -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'*