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

Re: "script" trickery



Meino,
 
> ... snipped
> 
>  Unfortunately "script" does not warn you when using a filename for
>  the log, which already exists and overwrites that file blindly.
>  .....snipped
>  But that fails due to the fact that "script" seems to start a subshel
>  or do other trickery.

It works fine, there is no trickery involved.

Reading the zsh manual and user's guide does wonders while writing scripts, I've found.

Darel Henman



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