Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
Created March 13, 2012 13:34
Show Gist options
  • Save JakubOboza/2028802 to your computer and use it in GitHub Desktop.
Save JakubOboza/2028802 to your computer and use it in GitHub Desktop.
http://example.com/cgi-bin/toons_awk_web_service.sh/toons
#!/bin/bash
awk '\
BEGIN { print "Content-type: text/plain\n\n" } \
{ print $1, "rox"}\
END { print " - DONE -" } \
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment