摘要: busybox_bin=/sbin/busybox# 获取PIPEget_outfd(){ if $busybox_bin ls -l /proc/self/fd/21 | $busybox_bin grep -q 'pipe'; then echo 21 else ... 阅读全文
posted @ 2015-03-31 19:35 scue 阅读(1523) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2015-03-31 00:53 scue 阅读(1795) 评论(0) 推荐(0) 编辑