I often have shell scripts that call other scripting languages, for example:
#!/bin/bash
cat somefile|awk '
BEGIN
{
#This line is not auto-indented and is colored as a string constant.
...
}
{
#Same with this line.
...
}'
echo "More Bash code here."
...
Is there a way to get Emacs to recognize an awk string as an awk program instead of a string constant?
User1 source
share