mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-27 17:58:13 +00:00
8 lines
129 B
Bash
Executable File
8 lines
129 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Wrap all "#define X Y" with a #ifndef X...#endif"
|
|
|
|
sed 's/^\( *#define \([^ ][^ ]*\) .*\)/#ifndef \2\
|
|
\1\
|
|
#endif/'
|