📄 follow-slink
字号:
#!/bin/sh# make sure ls -L always follows symlinksif test "$VERBOSE" = yes; then set -x ls --versionfipwd=`pwd`tmp=follow-sl.$$trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0trap '(exit $?); exit' 1 2 13 15framework_failure=0mkdir $tmp || framework_failure=1cd $tmp || framework_failure=1ln -s link link || framework_failure=1# Make sure the symlink was created.# `ln -s link link' succeeds, but creates no file on# systems running some DJGPP-2.03 libc.ls -F link > /dev/null || framework_failure=1if test $framework_failure = 1; then echo 'failure in testing framework' (exit 1); exitfifail=0ls -L link 2> /dev/null && fail=1(exit $fail); exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -