Help for this page

Select Code to Download


  1. or download this
    > echo "abcd" | perl -nle '/(b).(d)/ && print "$1" '
    b
    ...
    d
    > echo "abcd" | perl -nle '/(b).(d)/ && print "$1 $2" '
    Can't open $2 : No such file or directory.
    
  2. or download this
    > echo "abcd" | perl -nle '/(b).(d)/ && print \`"$1 $2\`" '
    Can't find string terminator "`" anywhere before EOF at -e line 1.