We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENVIRON, array of environment variables, and support by awk and gawk.
The text was updated successfully, but these errors were encountered:
Just ran into this issue over here:
pmarreck 🟢 21ms 20240918170311 ~ bash> SIXEL_CAPABLE=false frawk 'BEGIN{OFS=" "; a="fortune inthebeginning warhammer_quote bashorg_quote chuck mandelbrot asciidragon just_one_taoup"; split(a,b); if(ENVIRON["SIXEL_CAPABLE"]=="true") {print a} else {for(i in b) if(b[i]!="inthebeginning") printf "%s%s", b[i], (i<length(b)?OFS:ORS);};}' fortune inthebeginning warhammer_quote bashorg_quote chuck mandelbrot asciidragon just_one_taoup pmarreck 🟢 34ms 20240918170403 ~ bash> SIXEL_CAPABLE=false awk 'BEGIN{OFS=" "; a="fortune inthebeginning warhammer_quote bashorg_quote chuck mandelbrot asciidragon just_one_taoup"; split(a,b); if(ENVIRON["SIXEL_CAPABLE"]=="true") {print a} else {for(i in b) if(b[i]!="inthebeginning") printf "%s%s", b[i], (i<length(b)?OFS:ORS);};}' fortune warhammer_quote bashorg_quote chuck mandelbrot asciidragon just_one_taoup
Awk (and not frawk) changes its behavior based on the environment variable.
Sorry, something went wrong.
No branches or pull requests
ENVIRON, array of environment variables, and support by awk and gawk.
The text was updated successfully, but these errors were encountered: