mirror of
https://github.com/cheat/cheat.git
synced 2025-11-05 00:05:27 +01:00
Update tr
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user