x7y 1602974726 learn to pass data such as code 1:1, like awk '... but without the no single quotes limitation, you can workaround by passing the data in a double quoted read from a single quoted here doc : $ eval $'{ awk "$( < /dev/fd/$awkfd )" ; } {awkfd}<<\'eo\'\nBEGIN { print "he\\\'ll\\"o" }\neo\n' x7y 1602974858 forget x7y 1602974862 learn to pass data such as code 1:1, like awk '... but without the no single quotes limitation, you can workaround by passing the data in a double quoted read from a single quoted here doc : $ eval $'{ awk "$( < /dev/fd/$awkfd )" ; } {awkfd}<<\'eo\'\nBEGIN { print "he\\\'ll\\"o" }\neo\n' # the code is in between <<'eo'\n and \neo, the escapes are needed for irc proper one liner eval code x7y 1603394010 forget