Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14285 > unrolled thread

Re: Directing into a variable doesn't work

Started byPiotr Grzybowski <narsil.pl@gmail.com>
First post2018-06-28 14:12 +0200
Last post2018-06-28 14:12 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Directing into a variable doesn't work Piotr Grzybowski <narsil.pl@gmail.com> - 2018-06-28 14:12 +0200

#14285 — Re: Directing into a variable doesn't work

FromPiotr Grzybowski <narsil.pl@gmail.com>
Date2018-06-28 14:12 +0200
SubjectRe: Directing into a variable doesn't work
Message-ID<mailman.2689.1530187946.1292.bug-bash@gnu.org>

[Multipart message — attachments visible in raw view] — view raw

hello,

 I wanted to play around with this idea, and see how it works. Quick and dirty patch (against devel@c181950a89c0f0ca4a3ae2480b783da2f7de9565) is attached. Just modified parser and hardcoded tempfile /tmp/v_save.bash.temp. result:

bash-5.0$ echo 'hello a' >>> a; echo $a
hello a 

 If you don't mind we can get it off the list, and see if we can workout a better way to bind data from redirection with variable, and come up with something. If not, maybe you will find something useful in this patch, I have no idea if I will be able to present any decent version of it.

cheers,
pg
 

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web