File: generate

package info (click to toggle)
wine-development 2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 187,144 kB
  • ctags: 315,546
  • sloc: ansic: 2,640,448; perl: 18,914; yacc: 15,420; makefile: 8,447; objc: 6,157; lex: 4,268; sh: 886; cpp: 816; awk: 69; xml: 69
file content (9 lines) | stat: -rwxr-xr-x 166 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ $# -lt 2 ]; then
    echo "usage: $0 <file to generate> <marker>"
    exit 1
fi

echo "/* ### $2 begin ### */" > $1
echo "/* ### $2 end ### */" >> $1