[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issus with popd and pushd
From: |
Chet Ramey |
Subject: |
Re: Issus with popd and pushd |
Date: |
Mon, 17 Apr 2017 16:33:07 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 4/17/17 2:05 PM, Pete Smith wrote:
> Using an alias solution:
>
> popd | sed 's/\s/\n/g' | nl
>
> doesn't work, probably because they are shell built-ins.
That will never change the current directory, since the popd is run in
a subshell.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Issus with popd and pushd, Pete Smith, 2017/04/17
- Re: Issus with popd and pushd, Reuti, 2017/04/17
- Re: Issus with popd and pushd,
Chet Ramey <=
- Re: Issus with popd and pushd, Pete Smith, 2017/04/17
- Re: Issus with popd and pushd, Eduardo Bustamante, 2017/04/18
- Re: Issus with popd and pushd, Chet Ramey, 2017/04/18
- Re: Issus with popd and pushd, L A Walsh, 2017/04/18
- Re: Issus with popd and pushd, Chet Ramey, 2017/04/18
- Re: Issus with popd and pushd, Pete Smith, 2017/04/21
- Re: Issus with popd and pushd, Chet Ramey, 2017/04/21
- Re: Issus with popd and pushd, Chet Ramey, 2017/04/21
- Re: Issus with popd and pushd, Pete Smith, 2017/04/22
- Re: Issus with popd and pushd, Chet Ramey, 2017/04/18