# # Some personal .bashrc aliases # For more info consult the `bash' manpage. # To view your current aliases, issue the command: alias # # http://www.rdrs.net/document/ # # remove html markup alias dehtml='sed -e :a -e '\''s/<[^>]*>//g;/ LF alias nodos='tr -d '\''\015'\''' # convert LF -> CRLF alias todos="awk '{/\n$/; printf "%s\015\012", $0}'" # convert UPPERCASE -> lowercase alias tolower='tr '\''[:upper:]'\'' '\''[:lower:]'\''' # and vice versa alias toupper='tr '\''[:lower:]'\'' '\''[:upper:]'\''' # remove all zero bytes alias dezero="tr -d '\000'" # derive words.. alias printword="tr -cs 'a-zA-Z0-9' '[\n*]'" # remove newlines alias dnewl="tr -s '\n'" # uniq fold alias nodbl="tr -s '[:punct:][:blank:]' '\n' | tolower | uniq -d" # delete all consonants alias nocon="tr -d 'bcdfghjklmnpqrstvwxz'" # delete all vowels alias novow="tr -d 'aeiouy'" # handy od octal print format alias od2='od -t o1 -A n -v' # like the recall function from vax alias prev='fc -s' # list detached screens alias sls='screen -ls' # reattach to a detached screen alias slr='screen -r' # sms_client with loglevel 4 alias sms='/usr/bin/sms_client -l 4'