diff options
author | rsc <devnull@localhost> | 2005-08-31 03:56:50 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-08-31 03:56:50 +0000 |
commit | 5fd59258dca20b0c155aa8c28d443a2e608219fb (patch) | |
tree | 72d852f35d8b94bb0e35b0fd2ae50cdd33df6f15 | |
parent | e8dc77f7ae8ae6f9c7b4667b05cac03a11c17522 (diff) | |
download | plan9port-5fd59258dca20b0c155aa8c28d443a2e608219fb.tar.gz plan9port-5fd59258dca20b0c155aa8c28d443a2e608219fb.tar.bz2 plan9port-5fd59258dca20b0c155aa8c28d443a2e608219fb.zip |
Use Plan 9 file(1).
-rwxr-xr-x | bin/src | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,9 +10,9 @@ fn dbsrc{ } fn go{ - type=`{file $1} + type=`{9 file $1} switch($type){ - case *'script text'* + case *script* plumbit $1 '(script)' case *executable* *'plan 9 boot image'* *'shared object'* plumbit `{dbsrc $1} '(executable)' |