[lug] Remember Y2K?
Jeffrey S. Haemer
jeffrey.haemer at gmail.com
Tue Feb 25 05:59:03 MST 2014
Jed,
Just what I was looking for! Thanks.
On Mon, Feb 24, 2014 at 4:16 PM, Jed S. Baer <blug at jbaer.cotse.net> wrote:
> On Mon, 24 Feb 2014 16:06:08 -0700
> Jeffrey S. Haemer wrote:
>
> > My solution was to change it to 10#$(date +%W)
> >
> > Is there a better solution?
>
> $ echo "$(date +%-W)"
> 8
>
> The - tells it do not zero pad.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
--
Jeffrey Haemer <jeffrey.haemer at gmail.com>
720-837-8908 [cell], http://seejeffrun.blogspot.com [blog],
http://www.youtube.com/user/goyishekop [vlog]
*פרייהייט? דאס איז יאַנג דינען וואָרט.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20140225/6c9bc166/attachment.html>
More information about the LUG
mailing list