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…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.