/[fai]/trunk/examples/simple/class/01alias
ViewVC logotype

Diff of /trunk/examples/simple/class/01alias

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2019 by lange, Thu Jul 24 10:47:52 2003 UTC revision 2020 by lange, Mon Aug 4 15:05:25 2003 UTC
# Line 2  Line 2 
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

Legend:
Removed from v.2019  
changed lines
  Added in v.2020

  ViewVC Help
Powered by ViewVC 1.1.5