Andreas Schwab wrote: > [EMAIL PROTECTED] (Bob Proulx) writes: > > Using a combination of GNU 'date' and GNU 'touch' this is easy. > > > > touch --date "$(date --date '1 hour ago')" /tmp/foo > > This is equivalent to > > touch --date '1 hour ago' ... >
Yes! I messed that one up largely. (shakes head and looks sheepish) But fortunately Phil got it right: Philip Rowlands wrote: > touch -d "$(date -d "$(date -r foo) 1 hour ago")" foo Thanks Bob _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils
