Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-18-2007, 10:32 AM   #16
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32

what do you mean, "in your code"?

The tr examples that are given are to be used from the command line, i.e. independently of the shell script.

They are, in fact, one-liners. A one-liner generally is a sequence of commands that are all on one line, and don't need a script.

It's really surprising tr doesn't work for you. It's one of the legendary *nix commands.

Thank god no Perlhacker got sight of this question, they see oneliners as Art!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
turn a script to a service gsr_kashyap Linux - Software 1 04-05-2006 03:31 AM
Share your greatest one-liner!! PenguinPwrdBox General 3 08-20-2005 11:45 PM
How do you turn an executable into a shell script? Thaidog Linux - Newbie 1 09-20-2004 08:20 PM
one-liner to see current internet bandwidth usage doorbits Debian 6 11-01-2003 03:10 PM
one liner needed for search and replace chr15t0 Linux - General 2 09-24-2002 11:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration