M HYPE SPLASH
// updates

Is there any online awk command "explainer"?

By John Campbell

First, I am not sure where I should ask this question. Please point me out the correct forum if this place is not meant for this.

I am looking for a tool that can explain awk commands.

As a reference, check out this website:

When you hover on the regex part, it explains you what it does. I am looking for the same feature (does not need to be a website, anything will do as long as I can have the information) for awk.

enter image description here

An example of awk command I need to "decipher":

 awk -F"|" 'BEGIN{OFS="|"}{if(FNR>3){for(i=1;i<=NF;i++){sub(/ +$/,"",$i);sub(/^ +/,"",$i)};if(NF!=1){print $2,$3,$4}}}'
4 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy