shithub: riscv

Download patch

ref: d7120ecb77c22496678e2352ed3782b411215118
parent: cef91f23e787a9e01916b35cf35347b964f03a3b
author: Sigrid <[email protected]>
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'*