Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr0944 :: LITS 002: tr

Translating or transliteration with the tr command

<< First, < Previous, , Latest >>

Hosted by Dann on 2012-03-14 is flagged as Explicit and is released under a CC-BY-SA license.
translate, transliterate, tr. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr0944

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:17:08

Linux in the Shell.

Linux In The Shell aims to explore the use of many commands a user can run in the Bash Shell. Tutorials include a write up with examples, an audio component about the write up, and a video component to demonstrate the usage of the command.
The website is https://www.linuxintheshell.com/

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 word:

echo "12234" |tr '1234' 'aple'

The output:

apple

The entire article, including links to the videos can be found on his site:
https://www.linuxintheshell.com/2012/03/15/episode-002-tr/


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
What is the HOST_ID for the host of this show?
What does HPR mean to you?