Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cat as a builtin command
- X-seq: zsh-workers 33067
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: cat as a builtin command
- Date: Fri, 29 Aug 2014 21:21:44 +0100
- In-reply-to: <BLU436-SMTP2045383EF41756D3376DB3CF4DB0__18289.847582537$1409277048$gmane$org@phx.gbl>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <BLU436-SMTP2045383EF41756D3376DB3CF4DB0__18289.847582537$1409277048$gmane$org@phx.gbl>
You could do something like:
zmodload zsh/system
cat() for i do while sysread -o 1; do : ;done < $i; done
Messages sorted by:
Reverse Date,
Date,
Thread,
Author