003 File Manager
Current Path:
/usr/src/bin/sh/tests/parameters
usr
/
src
/
bin
/
sh
/
tests
/
parameters
/
📁
..
📄
Makefile
(676 B)
📄
Makefile.depend
(176 B)
📄
env1.0
(171 B)
📄
exitstatus1.0
(63 B)
📄
ifs1.0
(112 B)
📄
mail1.0
(379 B)
📄
mail2.0
(380 B)
📄
optind1.0
(46 B)
📄
optind2.0
(67 B)
📄
positional1.0
(540 B)
📄
positional2.0
(2.12 KB)
📄
positional3.0
(105 B)
📄
positional4.0
(80 B)
📄
positional5.0
(184 B)
📄
positional6.0
(62 B)
📄
positional7.0
(83 B)
📄
positional8.0
(618 B)
📄
positional9.0
(432 B)
📄
pwd1.0
(395 B)
📄
pwd2.0
(556 B)
Editing: pwd2.0
# $FreeBSD$ # Check that PWD is exported and accepted from the environment. set -e T=$(mktemp -d ${TMPDIR:-/tmp}/sh-test.XXXXXX) trap 'rm -rf $T' 0 cd -P $T TP=$(pwd) mkdir test1 ln -s test1 link cd link [ "$PWD" = "$TP/link" ] [ "$(pwd)" = "$TP/link" ] [ "$(pwd -P)" = "$TP/test1" ] [ "$(${SH} -c pwd)" = "$TP/link" ] [ "$(${SH} -c pwd\ -P)" = "$TP/test1" ] cd .. [ "$(pwd)" = "$TP" ] cd -P link [ "$PWD" = "$TP/test1" ] [ "$(pwd)" = "$TP/test1" ] [ "$(pwd -P)" = "$TP/test1" ] [ "$(${SH} -c pwd)" = "$TP/test1" ] [ "$(${SH} -c pwd\ -P)" = "$TP/test1" ]
Upload File
Create Folder