zsh-users
 help / color / mirror / code / Atom feed
From: "krasnal" <krasnal@2-0.pl>
To: zsh-users@sunsite.dk
Subject: Re: Little problem while converting from bash (quoting/splitting?)
Date: Sun, 15 May 2005 16:35:45 +0300	[thread overview]
Message-ID: <20050515132801.M80150@2-0.pl> (raw)
In-Reply-To: <12911.1115890748@csr.com>

On Thu, 12 May 2005 10:39:08 +0100, Peter Stephenson wrote
> Well, you could add \r to IFS, but unfortunately that will generate extra
> blank lines, for example:

I haven't thought about that but I'd like to avoid that

> zsh makes it relatively straightforward to remove the trailing \r by
> surrounding the command substitution with a parameter-style expansion:

Yes I knew that :) but I was just wondering if there's some option to make
zsh act more like bash in that respect.  Thank you anyway!

Best regards
Andrzej
-- 
    ____   _  ___ 
   /  | \_/ |/ _ \   Andrzej Marek Ostruszka 
  / _ |     | (_) |       MPSC (Cracow)
 /_/ L|_|V|_|\___/  (GnuPG key ID: 0x3D9C498A)


  reply	other threads:[~2005-05-15 13:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12  6:28 krasnal
     [not found] ` <krasnal@2-0.pl>
2005-05-12  9:39   ` Peter Stephenson
2005-05-15 13:35     ` krasnal [this message]
2005-05-12 16:29 ` Bart Schaefer
2005-05-15 13:48   ` krasnal
2005-05-15 18:48     ` Bart Schaefer
2005-05-19 13:17       ` krasnal

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=20050515132801.M80150@2-0.pl \
    --to=krasnal@2-0.pl \
    --cc=zsh-users@sunsite.dk \
    /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).