From: Vincent Lefevre <Vincent.Lefevre@lip.ens-lyon.fr>
To: hzoli@cs.elte.hu (Zoltan Hidvegi)
Cc: vlefevre@ens-lyon.fr, zsh-users@math.gatech.edu
Subject: Re: bug in zsh-2.6-beta21
Date: Tue, 25 Jun 1996 21:43:01 +0200 (MET DST) [thread overview]
Message-ID: <199606251943.VAA04340@woodstock.ens-lyon.fr> (raw)
In-Reply-To: <199606251911.VAA11678@bolyai.cs.elte.hu> from "Zoltan Hidvegi" at Jun 25, 96 09:11:56 pm
Thanks for the information.
I wanted to "evaluate a variable with echo", e.g. to replace "\n" with
a newline character... I had something like this:
a="blah\nblah\n"
b=`echo $a`
With zsh 2.6-beta21, I changed the second line:
b=`echo ${a}+`
and I use $b[1,-2] instead of $b.
With this method, the last "\n" is not stripped.
Is there a better (recommended) method to do this?
Vincent Lefevre.
next prev parent reply other threads:[~1996-06-25 19:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-25 18:55 Vincent Lefevre
1996-06-25 19:11 ` Zoltan Hidvegi
1996-06-25 19:43 ` Vincent Lefevre [this message]
[not found] ` <hzoli@cs.elte.hu>
1996-06-25 19:52 ` Barton E. Schaefer
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=199606251943.VAA04340@woodstock.ens-lyon.fr \
--to=vincent.lefevre@lip.ens-lyon.fr \
--cc=hzoli@cs.elte.hu \
--cc=vlefevre@ens-lyon.fr \
--cc=zsh-users@math.gatech.edu \
/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).