Sign in to follow this  
Followers 0
BINREV SPYD3R

HPR - HPR0944: LITS: Episode 002 - tr

1 post in this topic

In the third in the series, Dann introduces us to the tr command. Here's a flavour:The tr, or translate (aka: transliterate) command, substitutes one more characters for another set of characters or it will delete a specified set of characters. The tr command takes input from standard in and writes to standard out. This simple example of the tr command translates some numbers into a world:echo "12234" |tr '1234' 'aple'The output:appleThe entire article, including links to the videos can be found on his site:http://www.linuxintheshell.org/2012/03/15/episode-002-tr/

Go to this episode

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0