Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14729
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Robert Elz <kre@munnari.OZ.AU> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: GNU Bash v.4.4.23-5 built-in function 'set' produces variable outputs |
| Date | Tue, 23 Oct 2018 14:06:37 +0700 |
| Lines | 18 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.2607.1540278485.1284.bug-bash@gnu.org> (permalink) |
| References | <20181022133719.g4wc7uuowwfffzv3@eeg.ccf.org> <CAMu=Brp3q_-GV2j7R+hbXZX8LLakhQGd1O0y64q0xB2UBRRO6g@mail.gmail.com> <CAM_8-CiC=2-wY+y9GpRutzuOhom3q5ayS54sdH=F_w106WMj4Q@mail.gmail.com> <20181019195026.mmtktfswn3evxvlw@eeg.ccf.org> <10646.1540187682@jinx.noi.kre.to> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1540278485 2814 208.118.235.17 (23 Oct 2018 07:08:05 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash@gnu.org |
| To | Greg Wooledge <wooledg@eeg.ccf.org> |
| Envelope-to | bug-bash@gnu.org |
| In-Reply-To | <20181022133719.g4wc7uuowwfffzv3@eeg.ccf.org> |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2001:3c8:9009:181::2 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash/> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:14729 |
Show key headers only | View raw
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
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
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
csiph-web