摘要:
busybox_bin=/sbin/busybox# 获取PIPEget_outfd(){ if $busybox_bin ls -l /proc/self/fd/21 | $busybox_bin grep -q 'pipe'; then echo 21 else ... 阅读全文
摘要:
vi ~/.bashrc,增加一个function 1 svnlog(){ 2 svn log "$@" | awk -f <(cat <<EOF 3 #!/usr/bin/awk -f 4 5 # Convert the "svn log" output into a one liner... 阅读全文