mirror of
https://github.com/rwxrob/dot
synced 2024-11-18 15:25:52 +00:00
14 lines
195 B
Bash
Executable File
14 lines
195 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
_buffer() {
|
|
[[ -n "$1" ]] && return 1
|
|
"${FUNCNAME[1]}" "$(</dev/stdin)"
|
|
}
|
|
|
|
rot13(){
|
|
_buffer "$@" && return $?
|
|
tr '[A-Za-z]' '[N-ZA-Mn-za-m]' <<< "$*"
|
|
}
|
|
|
|
rot13 "$*"
|