[Smaug] A quick scripting puzzle
Ignacio Solis
isolis at igso.net
Fri Nov 18 08:47:22 PST 2005
* Peter Belew (abcruzww at gmail.com) said:
> Wow!
>
> On 11/18/05, Anthony Ettinger <apwebdesign at yahoo.com> wrote:
> > echo `cal|rev`|rev|cut -b-2
Funny and convoluted, I would have done:
date -d "last sunday" +%d
Nacho
--
Homepage: http://www.igso.net/~isolis/ | EEE8 08C9 FBAE B471 9691
GPG Public Key: http://www.igso.net/isolis.gpg | CE7A 1CC8 D3DE B31E 10AB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.svlug.org/archives/smaug/attachments/20051118/a71c6d91/attachment-0001.bin
More information about the Smaug
mailing list