projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
+ wrap things in B<> to make pod2man happy
[oweals/busybox.git]
/
define.sh
1
#!/bin/sh
2
# define.sh - creates an include file full of #defines
3
#
4
# SYNOPSIS
5
#
6
# define.sh POSIX_ME_HARDER ...
7
#
8
# <GPL>
9
10
for i ; do
11
case $1 in
12
!!*!!)
13
echo "// #define" `echo $1 | sed 's/^!!\(.*\)!!$/\1/'`
14
shift
15
;;
16
*)
17
echo "#define $1"
18
shift
19
;;
20
esac
21
done
22
23
# </GPL>