bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Robert Elz
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

    Date:        Mon, 22 Oct 2018 09:37:19 -0400
    From:        Greg Wooledge <address@hidden>
    Message-ID:  <address@hidden>

  | 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]