zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: cat as a builtin command
Date: Fri, 29 Aug 2014 21:21:44 +0100	[thread overview]
Message-ID: <20140829202144.GE28052@chaz.gmail.com> (raw)
In-Reply-To: <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


       reply	other threads:[~2014-08-29 20:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BLU436-SMTP2045383EF41756D3376DB3CF4DB0__18289.847582537$1409277048$gmane$org@phx.gbl>
2014-08-29 20:21 ` Stephane Chazelas [this message]
     [not found] <BLU436-SMTP2045383EF41756D3376DB3CF4DB0@phx.gbl>
     [not found] ` <20140829140343.7ed2a891__13925.6726870828$1409317564$gmane$org@pwslap01u.europe.root.pri>
2014-08-29 20:15   ` Stephane Chazelas
2014-09-01  8:41     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140829202144.GE28052@chaz.gmail.com \
    --to=stephane.chazelas@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).