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