Deleted Added
full compact
popd (127958) popd (139969)
1#!/bin/sh
2
3#-
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

--- 15 unchanged lines hidden (view full) ---

24# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29# SUCH DAMAGE.
30#
31# @(#)popd 8.2 (Berkeley) 5/4/95
4# Copyright (c) 1991, 1993
5# The Regents of the University of California. All rights reserved.
6#
7# This code is derived from software contributed to Berkeley by
8# Kenneth Almquist.
9#
10# Redistribution and use in source and binary forms, with or without
11# modification, are permitted provided that the following conditions

--- 15 unchanged lines hidden (view full) ---

27# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32# SUCH DAMAGE.
33#
34# @(#)popd 8.2 (Berkeley) 5/4/95
32# $FreeBSD: head/bin/sh/funcs/popd 127958 2004-04-06 20:06:54Z markm $
35# $FreeBSD: head/bin/sh/funcs/popd 139969 2005-01-10 08:39:26Z imp $
33
34# pushd, popd, and dirs --- written by Chris Bertin
35# Pixel Computer Inc. ...!wjh12!pixel!pixutl!chris
36# as modified by Patrick Elam of GTRI and Kenneth Almquist at UW
37
38pushd () {
39 SAVE=`pwd`
40 if [ "$1" = "" ]

--- 30 unchanged lines hidden ---
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 ---