Title: jobs, fg, awk, oh, my

Greetings all!

Any idea why this (line wrapping probable):

---> SNIP <---
#/bin/bash
fg `jobs | awk '/xemacs/ {printf("%s\n", substr($1, 2, 1));}'`
---> SNIP <---

returns:
---> SNIP <---
fg: no job control
---> SNIP <---

instead of switching me to the currently running xemacs session?

Thanks!
Chris

Reply via email to