]>
git.cameronkatri.com Git - apple_cmds.git/blob - text_cmds/ee/genstr
7 echo usage
$0 source_file dest_file
11 trap 'rm -f /tmp/$$.out; exit 0' 0 # set up traps to clean up
12 trap 'rm -f /tmp/$$.out; exit 1' 1 2 3 15 # on errors AND normal exit
19 cat $1 | grep 'catgetlocal.*\"*\"' |
20 sed -e 's/^.*catgetlocal(//' |
22 sed -e 's/, \"/ \"/' |
23 sed -e 's/);//' > /tmp
/$$.out
32 sort -n < /tmp
/$$.out
>> $2