[Pdx-pm] solved: job control (still got a question)
Randall Hansen
perl at sonofhans.net
Tue Jun 3 21:13:16 CDT 2003
Thus spoke "Michael R. Wolf" <MichaelRunningWolf at att.net>
( Tue, 03 Jun 2003 18:36:33 -0700 ):
> It's not the pipe that did the end run, it's the 'jobs' run in the
> current shell, thus avoiding the subshell problem.
By 'the pipe' I meant 'the solution involving the pipe,' but perhaps I
should be more pedantic. :)
> $ date="right now (as a string variable)"
> $
> $ print "At the tone, the time will be: ${date}"
> At the tone, the time will be: right now (as a string variable)
> $
> $ print "At the tone, the time will be: $(date)"
> At the tone, the time will be: Tue Jun 3 18:31:17 PDT 2003
> $
That's a nice illustration - thanks.
r
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/pdx-pm-list/attachments/20030603/cabea844/attachment.bin
More information about the Pdx-pm-list
mailing list