Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: redirecting stdout of no/empty command
- X-seq: zsh-users 16710
- From: Stephane Chazelas <stephane_chazelas@xxxxxxxx>
- To: Damien Thébault <damien.thebault@xxxxxxxxx>
- Subject: Re: redirecting stdout of no/empty command
- Date: Fri, 6 Jan 2012 20:36:17 +0000
- Cc: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>, Isaac Huang <iclaymore@xxxxxxxxx>, zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1325882185; bh=1ACTB1bzjEv07MANsTRd4R6LGwe9bSxl3rlONdD66vw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:Content-Transfer-Encoding:In-Reply-To:User-Agent; b=aj+t3DnZKl4fZuzbuUE64udJWBcN6py/vmPUYP3Ai5ljhWry4ddrwZ8cwp7F3bjNts5hVFl/6NBruWHb97hhcG6vVLMuhB/DExoPLPW3QIzEdZGYLsSkRZtOaf73nIcHRYNkK1YIbN6Iw6Gh0BAtiudccjFfldaOq1i84oZMYtc=
- In-reply-to: <CAEcrOvDimRXcWSrjnuasfQGy0F66xAg1bxTGmjMQ2_cgXCwKvQ__39184.4791862697$1325877047$gmane$org@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Damien Thébault <damien.thebault@xxxxxxxxx>, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>, Isaac Huang <iclaymore@xxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAOtRsER5YhM_-oQyOvRdvCGCx17FhfDj-x_G6kiHi_TsSo=ekA@mail.gmail.com> <20120106184351.GA26599@daniel3.local> <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author