mirror of https://github.com/cheat/cheat.git
Update tr
This commit is contained in:
parent
84df17a0f6
commit
f3ecf76239
|
@ -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 New Issue