"bash -x clojure" 命令的输出在 ~....
:~$ bash -x clojure
+ set -e
+ install_dir=/usr/local/lib/clojure
+ version=1.10.3.855
+ print_classpath=false
+ describe=false
+ verbose=false
+ trace=false
+ force=false
+ repro=false
+ tree=false
+ pom=false
+ help=false
+ prep=false
+ jvm_opts=()
+ resolve_aliases=()
+ classpath_aliases=()
+ repl_aliases=()
+ mode=repl
+ '[' 0 -gt 0 ']'
+ set +e
++ type -p java
+ JAVA_CMD=/usr/bin/java
+ set -e
+ [[ -z /usr/bin/java ]]
+ false
+ tools_cp=/usr/local/lib/clojure/libexec/clojure-tools-1.10.3.855.jar
+ [[ -n '' ]]
+ [[ -n '' ]]
+ config_dir=/home/nalin/.clojure
+ [[ ! -d /home/nalin/.clojure ]]
+ [[ ! -e /home/nalin/.clojure/deps.edn ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ user_cache_dir=/home/nalin/.clojure/.cpcache
+ config_project=deps.edn
+ false
+ config_user=/home/nalin/.clojure/deps.edn
+ config_paths=("$install_dir/deps.edn" "$config_dir/deps.edn" "deps.edn")
++ printf ,%s /usr/local/lib/clojure/deps.edn /home/nalin/.clojure/deps.edn deps.edn
+ config_str=,/usr/local/lib/clojure/deps.edn,/home/nalin/.clojure/deps.edn,deps.edn
+ config_str=/usr/local/lib/clojure/deps.edn,/home/nalin/.clojure/deps.edn,deps.edn
+ [[ -f deps.edn ]]
+ cache_dir=/home/nalin/.clojure/.cpcache
++ join ''
++ local d=
++ shift
++ echo -n ''
++ shift
++ printf %s
++ join ''
++ local d=
++ shift
++ echo -n ''
++ shift
++ printf %s
++ join ''
++ local d=
++ shift
++ echo -n ''
++ shift
++ printf %s
+ val='|||||'
+ for config_path in "${config_paths[@]}"
+ [[ -f /usr/local/lib/clojure/deps.edn ]]
+ val='||||||/usr/local/lib/clojure/deps.edn'
+ for config_path in "${config_paths[@]}"
+ [[ -f /home/nalin/.clojure/deps.edn ]]
+ val='||||||/usr/local/lib/clojure/deps.edn|/home/nalin/.clojure/deps.edn'
+ for config_path in "${config_paths[@]}"
+ [[ -f deps.edn ]]
+ val='||||||/usr/local/lib/clojure/deps.edn|/home/nalin/.clojure/deps.edn|NIL'
++ echo '||||||/usr/local/lib/clojure/deps.edn|/home/nalin/.clojure/deps.edn|NIL'
++ cksum
++ cut '-d ' -f 1
+ ck=2013855593
+ libs_file=/home/nalin/.clojure/.cpcache/2013855593.libs
+ cp_file=/home/nalin/.clojure/.cpcache/2013855593.cp
+ jvm_file=/home/nalin/.clojure/.cpcache/2013855593.jvm
+ main_file=/home/nalin/.clojure/.cpcache/2013855593.main
+ basis_file=/home/nalin/.clojure/.cpcache/2013855593.basis
+ false
+ stale=false
+ false
+ false
+ false
+ false
+ '[' '!' -f /home/nalin/.clojure/.cpcache/2013855593.cp ']'
+ for config_path in "${config_paths[@]}"
+ '[' /usr/local/lib/clojure/deps.edn -nt /home/nalin/.clojure/.cpcache/2013855593.cp ']'
+ for config_path in "${config_paths[@]}"
+ '[' /home/nalin/.clojure/deps.edn -nt /home/nalin/.clojure/.cpcache/2013855593.cp ']'
+ for config_path in "${config_paths[@]}"
+ '[' deps.edn -nt /home/nalin/.clojure/.cpcache/2013855593.cp ']'
+ false
+ false
+ [[ false = true ]]
+ false
+ [[ -n '' ]]
++ cat /home/nalin/.clojure/.cpcache/2013855593.cp
+
+ false
+ false
+ false
+ false
+ false
+ false
+
+
+
+
+ '[' 0 -gt 0 ']'
+