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


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

Re: GNU Bash v.4.4.23-5 built-in function 'set' produces variable outputs

Started byRobert Elz <kre@munnari.OZ.AU>
First post2018-10-23 14:06 +0700
Last post2018-10-23 14:06 +0700
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: GNU Bash v.4.4.23-5 built-in function 'set' produces variable outputs Robert Elz <kre@munnari.OZ.AU> - 2018-10-23 14:06 +0700

#14729 — Re: GNU Bash v.4.4.23-5 built-in function 'set' produces variable outputs

FromRobert Elz <kre@munnari.OZ.AU>
Date2018-10-23 14:06 +0700
SubjectRe: GNU Bash v.4.4.23-5 built-in function 'set' produces variable outputs
Message-ID<mailman.2607.1540278485.1284.bug-bash@gnu.org>
    Date:        Mon, 22 Oct 2018 09:37:19 -0400
    From:        Greg Wooledge <wooledg@eeg.ccf.org>
    Message-ID:  <20181022133719.g4wc7uuowwfffzv3@eeg.ccf.org>

  | I occasionally run a command like  mkdir /tmp/x && cd "$_"

cdnd()
{
	mkdir -p "$1" && cd "$1"
}

Make it as fancy as you want.   Interactively you're much more
likely to want !$ than $_ (I'd suggest infinitely more lijkely...)

kre


[toc] | [standalone]


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


csiph-web