mkproto - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
mkproto (192B)
---
1 #!/bin/sh
2
3 export LC_ALL=C
4
5 for dir
6 do
7 find $dir |
8 while read i
9 do
10 if test -d $i
11 then
12 echo d 755 $i
13 elif test -x $i
14 then
15 echo f 755 $i
16 else
17 echo f 644 $i
18 fi
19 done
20 done