Results 1 to 6 of 6
what r the drawbacks of echo command?
can u plz suggest some enhancements in echo command....
- 06-16-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 18
enhancements of echo
what r the drawbacks of echo command?
can u plz suggest some enhancements in echo command.
- 06-16-2009 #2
Really I can't think of any drawbacks.
Just in case ,check this :
Displayed Output is diffenent from normal# echo `ls -l `
ls -l- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-17-2009 #3
happy, what exactly are you looking for?
In Linux, one prevailing philosophy of software design is KISS: "Keep It Simple, Stupid!". For this reason, "echo" simply prints out text that it is given: nothing more. Because of our ability to pipe output from one command into another command, you can build up very powerful commandlines by using very simple building blocks. This helps to keep these commands straightforward and bug-free.
Do you see any problems with the echo command? What do you wish that it would do instead? There might be another utility to do that already.DISTRO=Arch
Registered Linux User #388732
- 06-18-2009 #4
Hi Cabhan !!!
Long time no see
Glad to see you back
Hope you are doing well
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-19-2009 #5
i dont see any drawback in echo command in this context. For enchancement purpost you can see the man page of echo , you can add effect using the -e opption.
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-23-2009 #6Banned
- Join Date
- Jun 2009
- Posts
- 68
Going by the man/info pages for echo, there's nothing else to do with it but -e for escaping \t tab \n newline, etc. It would have to be another program for any other "enhancements".


Reply With Quote