Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
what is the effect of a percentage sign (%) as last character on the command line
- X-seq: zsh-users 14724
- From: Peter <vmail@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: what is the effect of a percentage sign (%) as last character on the command line
- Date: Thu, 21 Jan 2010 11:41:00 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi
What exactly is happening when I say
$ <anycommand>%
( a percentage sign as last character after any command) resulting in no
output , whereas
$<anycomand>%<space>
results in normal output
for example:
$date%
(no output )
whereas:
$date%_ # the underscore means a space char
Thu Jan 21 11:33:48 CET 2010
I can't figure which meaning of the percentage applies in this case ( %
process number with number omitted, % integer division , % special file
expansion, ... )
Most probably a very stupid question, sorry, but I just cannot
understand this behavior ...
Thanks
Peter
Messages sorted by:
Reverse Date,
Date,
Thread,
Author