Open vieyahn2017 opened 4 years ago
ls | awk -v a=$(pwd) '{print a"/"$0}'
awk -v awk: option requires an argument -- v Usage: awk [POSIX or GNU style options] -f progfile [--] file ... Usage: awk [POSIX or GNU style options] [--] 'program' file ... POSIX options: GNU long options: (standard) -f progfile --file=progfile -F fs --field-separator=fs -v var=val --assign=var=val
ls 输出全路径