1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh # shellcheck disable=SC2086 # shellcheck source=/dev/null . ~/.local/lib/shell/lib file=$HOME/hi3 cat $file | clean | awk '{ print (""$2" => {println!(\""$1"\")}") }' if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi