📄 symlink-slash
字号:
#!/bin/sh# Do dereference a symlink arg if its name is written with a trailing slash.if test "$VERBOSE" = yes; then set -x ls --versionfi. $srcdir/../lang-defaulttmp=t-ls.$$framework_failure=0mkdir $tmp || framework_failure=1cd $tmp || framework_failure=1mkdir dir || framework_failure=1ln -s dir symlink || framework_failure=1if test $framework_failure = 1; then echo 'failure in testing framework' exit 1fifail=0set `ls -l symlink/`# Prior to fileutils-4.0k, the following would have output `... symlink -> dir'.test "$*" = 'total 0' && : || fail=1cd ..rm -rf $tmpexit $fail
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -