history.right

来自「android-w.song.android.widget」· RIGHT 代码 · 共 147 行

RIGHT
147
字号
./history.tests: line 4: history: -x: invalid optionhistory: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]./history.tests: line 6: history: cannot use more than one of -anrw./history.tests: line 9: fc: -v: invalid optionfc: usage: fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]    1  for i in one two three; do echo $i; done    2  /bin/sh -c 'echo this is $0'    3  ls    4  echo $BASH_VERSION1	 for i in one two three; do echo $i; done2	 /bin/sh -c 'echo this is $0'3	 ls4	 echo $BASH_VERSION	 for i in one two three; do echo $i; done	 /bin/sh -c 'echo this is $0'	 ls	 echo $BASH_VERSION4	 echo $BASH_VERSION3	 ls2	 /bin/sh -c 'echo this is $0'1	 for i in one two three; do echo $i; done	 echo $BASH_VERSION	 ls	 /bin/sh -c 'echo this is $0'	 for i in one two three; do echo $i; done    1  for i in one two three; do echo $i; done    2  /bin/sh -c 'echo this is $0'    3  ls    4  echo $BASH_VERSION    5  echo line for historyecho line for history	 for i in one two three; do echo $i; done	 /bin/sh -c 'echo this is $0'	 ls	 echo $BASH_VERSION	 echo line for historydisplaying $HISTFILE after history -aecho line for historyHISTFILE=/tmp/newhistory    1  for i in one two three; do echo $i; done    2  /bin/sh -c 'echo this is $0'    3  ls    4  echo $BASH_VERSION    5  echo line for history    6  HISTFILE=/tmp/newhistory    7  echo displaying \$HISTFILE after history -a    8  cat $HISTFILEfor i in one two three; do echo $i; done/bin/sh -c 'echo this is $0'lsecho $BASH_VERSIONecho line for historyHISTFILE=/tmp/newhistoryecho displaying \$HISTFILE after history -acat $HISTFILE    1  for i in one two three; do echo $i; done    2  /bin/sh -c 'echo this is $0'    3  ls    4  echo $BASH_VERSION    5  echo line for history    6  HISTFILE=/tmp/newhistory    7  echo displaying \$HISTFILE after history -a    8  cat $HISTFILE    9  echo line 2 for historyecho line 2 for historyecho line 2 for history    1  for i in one two three; do echo $i; done    2  /bin/sh -c 'echo this is $0'    3  ls    4  echo $BASH_VERSION    5  echo line for history    6  HISTFILE=/tmp/newhistory    7  echo displaying \$HISTFILE after history -a    8  cat $HISTFILE    9  echo line 2 for history   10  # this should show up as one history entry   11  for x in one two three; do 	:; doneset -Hecho line 2 for historyline 2 for history4	 echo $BASH_VERSION5	 echo line for history6	 HISTFILE=/tmp/newhistory7	 echo displaying \$HISTFILE after history -a8	 cat $HISTFILE9	 echo line 2 for history10	 # this should show up as one history entry11	 for x in one two three; do 	:; done12	 # just a basic test.  a full test suite for history expansion should be13	 # created14	 set -H15	 echo line 2 for history16	 unset HISTSIZE17	 unset HISTFILE4	 echo $BASH_VERSION5	 echo line for history6	 HISTFILE=/tmp/newhistory7	 echo displaying \$HISTFILE after history -a8	 cat $HISTFILE./history.tests: line 75: fc: history specification out of range   14  set -H   15  echo line 2 for history   16  unset HISTSIZE   17  unset HISTFILEaa ab acecho xx xb xcxx xb xcecho 44 48 4c44 48 4c./history.tests: line 90: fc: no command foundaabbccecho ccecho ccccaabbccecho ccecho cccc1onetwothree    1  cat <<!onetwothree!    2  historycat <<!onetwothree!onetwothree4.2echo ${BASH_VERSION%\.*}4.2	 echo ${BASH_VERSION%\.*}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?