Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: (feature request) Shell script within shell script



On Feb 3,  6:15pm, William Park wrote:
}
} I've finally managed to find a solution.  It's called "process
} substitution":
}     function test1 () {
} 	awk -f <( cat <<"EOF"
} 	    ...
} 	    ...
} 	EOF
} 	)
}     }

Just watch out for what happens if you ever have unbalanced parentheses in
the content of the here-document.



Messages sorted by: Reverse Date, Date, Thread, Author