Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: mkdir builtin and $'\0'



2015-08-19 10:52:50 +0100, Peter Stephenson:
[...]
> [Is there any future (not right now, obviously) in a shell variable that
> overrides the date/time that's output, for debugging?  I can think of
> cases where this would be really useful for debugging output from
> scripts that include timestamps and you want to diff different
> versions.  You could freeze the time to the same value, then run
> both versions, and get a controlled difference.]
[...]

Note that there's a "faketime" tool (using LD_PRELOAD) that can
be used to fake a particular time (and/or speed of time) which
is quite handy for testing date/calendar/timezone related things.

-- 
Stephane



Messages sorted by: Reverse Date, Date, Thread, Author