![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TimeStamp clarification | Sreejith_VK | Shell Programming and Scripting | 2 | 04-09-2008 01:07 AM |
| Sun Unix command clarification | FredSmith | SUN Solaris | 4 | 07-12-2007 02:30 AM |
| Need clarification | ravi.sadani19 | Shell Programming and Scripting | 2 | 04-13-2007 02:55 AM |
| nawk command clarification | Tux_Raju | Shell Programming and Scripting | 2 | 07-28-2005 10:28 AM |
| "find" command clarification | ck-18 | UNIX for Dummies Questions & Answers | 3 | 05-21-2002 03:46 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi ,
I need your help to know the exact operation of this following code .. cat file1 | ux2dos | tr -d ''>>file2 file1 contains only one line : "DTS-PO\SPECTRUM WO 56" the data contains a META CHAR "\" .. look at the above line. But , The file2 output contains : "DTS-POSPECTRUM WO 56^M" The "\" does not appear in the file2. The ux2dos appends ^M in the end of line. My questions are : 1. what is the operation performed by tr -d '' ? what is the usage of this arrow mark option ? 2. is the arrow option ignore the ALL Special meta char's? or the ux2dos ignore or delete the special META Char's? 3. is there any way to allow the meta char's would be appeared in the file2? Note : Environment = IBM AIX 5.3 Shell = ksh |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|