zsh-users
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane_chazelas@yahoo.fr>
To: "Damien Thébault" <damien.thebault@gmail.com>
Cc: Daniel Shahaf <d.s@daniel.shahaf.name>,
	Isaac Huang <iclaymore@gmail.com>,
	zsh-users@zsh.org
Subject: Re: redirecting stdout of no/empty command
Date: Fri, 6 Jan 2012 20:36:17 +0000	[thread overview]
Message-ID: <20120106203617.GA4589@yahoo.fr> (raw)
In-Reply-To: <CAEcrOvDimRXcWSrjnuasfQGy0F66xAg1bxTGmjMQ2_cgXCwKvQ__39184.4791862697$1325877047$gmane$org@mail.gmail.com>

2012-01-06 20:07:35 +0100, Damien Thébault:
[...]
> (It's not affecting me much since when I need to have empty input, I
> use cat /dev/null or echo -n "")
[...]

The usual way to do it is:

: > foo

-- 
Stephane


      parent reply	other threads:[~2012-01-06 20:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 18:34 Isaac Huang
2012-01-06 18:43 ` Daniel Shahaf
2012-01-06 19:07   ` Damien Thébault
2012-01-06 19:20     ` Daniel Shahaf
     [not found]   ` <CAEcrOvDimRXcWSrjnuasfQGy0F66xAg1bxTGmjMQ2_cgXCwKvQ__39184.4791862697$1325877047$gmane$org@mail.gmail.com>
2012-01-06 20:36     ` Stephane Chazelas [this message]

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=20120106203617.GA4589@yahoo.fr \
    --to=stephane_chazelas@yahoo.fr \
    --cc=d.s@daniel.shahaf.name \
    --cc=damien.thebault@gmail.com \
    --cc=iclaymore@gmail.com \
    --cc=zsh-users@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).