[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

jobs, fg, awk, oh, my



Title: jobs, fg, awk, oh, my

Apologies for the HTML the first time around.  It was truly a mistake.
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]