Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'awk'

1442274 - gnu_d: script bash text format voice awk espeak hms hhmmss
  1. txt="`echo "$txt" | awk -F':' '{
  2.         if($1!="") printf("%s", $1 " hour ");
  3.         if($2!="") printf("%s", $2 " minute ");
  4.         if($3!="") printf("%s", $3 " seconds");
  5.                 }'`";
  6.         }
994801 - product rule: awk permutations
  1. echo f\' = $(cat <<< ghl | \
  2. awk '{i=length()+1; while(i-1) print( substr($0,0,i-1) "'\''" substr($0,i--) )}' |\
  3. awk 'BEGIN {RS = ":"; FS="\n"} {i= NF-2; print $(NF-1); while(i) {printf(" + %s", $i ); i--}; print "\n" }')
  4. f' = g'hl + gh'l + ghl'
942713 - product rule: awk permutations
  1. echo f\' = $(cat <<< ghl | \                                                
  2. awk '{i=length()+1; while(i-1) print( substr($0,0,i-1) "'\''" substr($0,i--) )}' |\
  3. awk 'BEGIN {RS = ":"; FS="\n"} {i= NF-2; print $(NF-1); while(i) {printf(" + %s", $i ); i--}; print "\n" }')
  4. f' = g'hl + gh'l + ghl'
worth-right
worth-right