RSSAmplifier

Passing Curiosity: Latest posts · Nov 1, 2023

Notes on AWK scripting

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Writing AWK scripts Many large AWK scripts are wrapped in a useless shell script. If all of your logic is in AWK then there’s no need for the shell to get involves in things; just use the correct shebang! #!/usr/bin/awk -f BEGIN { print("start") } END { print("end") } Just make it executable and now you have a script written directly in AWK with no shells involved. Just make it executable (with…

Read on passingcuriosity.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.