mirror of
https://github.com/notwa/rc
synced 2024-07-01 03:07:13 -07:00
nocom: remove both shell and C-style comments
This commit is contained in:
parent
32754d6923
commit
d6ea3d7a2e
|
@ -155,7 +155,7 @@ alias counts='find . | wc -l'
|
||||||
alias exts='print -l *(:e:l) | sort | uniq -c | sort -n'
|
alias exts='print -l *(:e:l) | sort | uniq -c | sort -n'
|
||||||
alias freq="cut -d' ' -f1 < ~/.histfile | sort | uniq -c | sort -rn | head"
|
alias freq="cut -d' ' -f1 < ~/.histfile | sort | uniq -c | sort -rn | head"
|
||||||
#
|
#
|
||||||
alias nocom='grep -oP --line-buffered --color=never "^[^#]+"'
|
alias nocom='egrep -v --line-buffered --color=never "^[[:space:]]*(//|#)"'
|
||||||
alias jrep='grep -aPo "[\x{20}-\x{7E}\x{4E00}-\x{9FFF}\x{3040}-\x{30FF}]+"'
|
alias jrep='grep -aPo "[\x{20}-\x{7E}\x{4E00}-\x{9FFF}\x{3040}-\x{30FF}]+"'
|
||||||
alias bomb='uconv -f utf-8 -t utf-8 --add-signature'
|
alias bomb='uconv -f utf-8 -t utf-8 --add-signature'
|
||||||
alias cleanse='tr -cd "\11\12\15\40-\176"'
|
alias cleanse='tr -cd "\11\12\15\40-\176"'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user