ack/lang/cem/libcc.ansi/stdlib/malloc/add_file

16 lines
282 B
Bash
Executable file

#!/bin/sh
echo ""
echo "/**********************************************************/"
echo "/* This was file $1 */"
echo "/**********************************************************/"
echo ""
cat $1 |
sed '
/#include[ ].*"/d
s/^public/private/
s/^publicdata/static/
'
echo ''