dirs (1557) | dirs (3044) |
---|---|
1# Copyright (c) 1991, 1993 2# The Regents of the University of California. All rights reserved. 3# 4# This code is derived from software contributed to Berkeley by 5# Kenneth Almquist. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33# SUCH DAMAGE. 34# 35# @(#)dirs 8.1 (Berkeley) 5/31/93 | 1# Copyright (c) 1991, 1993 2# The Regents of the University of California. All rights reserved. 3# 4# This code is derived from software contributed to Berkeley by 5# Kenneth Almquist. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33# SUCH DAMAGE. 34# 35# @(#)dirs 8.1 (Berkeley) 5/31/93 |
36# $Id$ |
|
36 37# pushd, popd, and dirs --- written by Chris Bertin 38# Pixel Computer Inc. ...!wjh12!pixel!pixutl!chris 39# as modified by Patrick Elam of GTRI and Kenneth Almquist at UW 40 41pushd () { 42 SAVE=`pwd` 43 if [ "$1" = "" ] --- 30 unchanged lines hidden --- | 37 38# pushd, popd, and dirs --- written by Chris Bertin 39# Pixel Computer Inc. ...!wjh12!pixel!pixutl!chris 40# as modified by Patrick Elam of GTRI and Kenneth Almquist at UW 41 42pushd () { 43 SAVE=`pwd` 44 if [ "$1" = "" ] --- 30 unchanged lines hidden --- |