Something about DataStage, DataStage Administration, Job Designing,Developing, DataStage troubleshooting, DataStage Installation & Configuration, ETL, DataWareHousing, DB2, Teradata, Oracle and Scripting.
Monday, October 13, 2014
\n not creating new line in Linux
When we are using Linux, Some Shell are quite good to understand the Escape characters we want to print but some are not.
This is how we have to make them understood these characters -
$ echo "Atul \n Singh"
Atul \n Singh
we need to add '-e' ('echo' command option) with 'echo' command -
$ echo -e "Atul \n Singh"
Atul
Singh
Like the Facebook Page & join Group
https://www.facebook.com/DataStage4you
https://www.facebook.com/groups/DataStage4you
https://twitter.com/datastage4you
For WHATSAPP group , drop a msg to 91-88-00-906098
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment