[Cialug] shell script error

Paul Gray gray at cs.uni.edu
Fri Aug 26 14:06:29 CDT 2005


On Fri, Aug 26, 2005 at 02:03:47PM -0500, Chris Hettinger wrote:
> #!/bin/sh
> 
> TODAY=date +%Y%m%d

You need back tics or $(shell ) in the above line.

-- 
Paul Gray                                         -o)
323 Wright Hall                                   /\\
University of Northern Iowa                      _\_V
Message void if penguin violated ...  Don't mess with the penguin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://cialug.org/pipermail/cialug/attachments/20050826/d1ae4142/attachment.pgp


More information about the Cialug mailing list