git: 9front

Download patch

ref: 6c00c9b0876ee6d96aa76e11854d0ff8ed8c4dbe
parent: 88b9b3a2fe59d5325cbad9bb569b729d7803bfe9
author: Sigrid <ftrvxmtrx@gmail.com>
date: Thu Dec 10 05:33:42 EST 2020

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

--- a/rc/bin/src
+++ b/rc/bin/src
@@ -13,6 +13,8 @@
 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'*
--