mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 13:42:11 +01:00
Update tr
This commit is contained in:
parent
84df17a0f6
commit
f3ecf76239
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ echo $PATH|tr -t ":" \n
|
||||||
|
|
||||||
#remove all occurance of "ab"
|
#remove all occurance of "ab"
|
||||||
echo aabbcc |tr -d "ab"
|
echo aabbcc |tr -d "ab"
|
||||||
|
#ouput: cc
|
||||||
|
|
||||||
#complement "aa"
|
#complement "aa"
|
||||||
echo aabbccd |tr -c "aa" 1
|
echo aabbccd |tr -c "aa" 1
|
||||||
|
|
Loading…
Reference in a new issue