The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 03-18-2008
era
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
tr -d removes any occurrence of the indicated character(s) from the input, and copies the rest. A very quick glance at the tr(1) manual page would have told you this.

Conventionally ux2dos replaces line feeds with carriage return+line feed but it's not a standard command, it could do other stuff like change slashes in file names to backslashes or what not if it's a specialized command. (Often unix2dos is a simple wrapper around a one-line tr or sed script, too.)

If you don't want to remove the mystery arrow character, take out the "tr". I assume it was put there for a reason, though.

Sorry for the sarcasm, and hope this helps.