[ale] Awk quoting within shell scripts (was X window to foreground)

Brian Pitts brian at polibyte.com
Sun Dec 30 03:48:15 EST 2007


Greg Freemyer wrote:
> Brian,
> 
> Did you try awk "/$PID/ {print \$1}"
> 
> ie. A combination of double quotes to let the $PID expand and a \ to
> stop $1 from expanding?

I thought of that, but apparently I never tried doing just that. It 
works great. Thanks.

-Brian



More information about the Ale mailing list