| 2 |
|
|
| 3 |
catnc() { |
catnc() { |
| 4 |
# cat but no comment lines |
# cat but no comment lines |
| 5 |
grep -v "^#" $1 |
egrep -v "^#" $1 |
| 6 |
} |
} |
| 7 |
|
|
| 8 |
|
|
| 9 |
# echo architecture and OS name in upper case. Do NOT remove these two lines |
# echo architecture and OS name in upper case. Do NOT remove these two lines |
| 10 |
uname -s | tr /a-z/ /A-Z/ |
uname -s | tr '[:lower:]' '[:upper:]' |
| 11 |
[ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr /a-z/ /A-Z/ |
[ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr /a-z/ /A-Z/ |
| 12 |
|
|
| 13 |
# all hosts named ant?? are using the classes in file anthill |
# all hosts named ant?? are using the classes in file anthill |