Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Rot-13/UNIX-Shell/rot-13-1.sh
Normal file
5
Task/Rot-13/UNIX-Shell/rot-13-1.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
tr \
|
||||
'NOWHERE AZ clerk IRAQ faber gnat ABJURER NM pyrex VEND snore tang'\
|
||||
'abjurer nm PYREX vend SNORE TANG nowhere az CLERK iraq FABER GNAT' \
|
||||
'ABJURER NM pyrex VEND snore tang NOWHERE AZ clerk IRAQ faber gnat'\
|
||||
'nowhere az CLERK iraq FABER GNAT abjurer nm PYREX vend SNORE TANG'
|
||||
6
Task/Rot-13/UNIX-Shell/rot-13-2.sh
Normal file
6
Task/Rot-13/UNIX-Shell/rot-13-2.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
rot13() {
|
||||
tr '[a-m][n-z][A-M][N-Z]' '[n-z][a-m][N-Z][A-M]'
|
||||
}
|
||||
|
||||
cat ${1+"$@"} | rot13
|
||||
Loading…
Add table
Add a link
Reference in a new issue