Help for this page

Select Code to Download


  1. or download this
    #! /usr/local/bin/perl -w      # 1
                                   # 2
    ...
    else {                         # 15
        print "nothing\n";         # 16
    }                              # 17
    
  2. or download this
    foo contains [ok]
    Use of uninitialized value in string eq at ifbug line 9.
    nothing
    
  3. or download this
    awk -F: 'substr($1,0,1)=="p" {print $3}' /etc/passwd
    perl -F: -lane 'substr($F[0],0,1)eq"p" and print $F[2]' /etc/passwd