File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to remove '\n' and '\r' in the file by kshell

 
zb cong
Ranch Hand
Posts: 416
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello dears,

who can tell me which command can remove the '\n' and '\r' in a file. so the contents in the file are linked to one line.



Thanks.
 
Ireneusz Kordal
Ranch Hand
Posts: 423
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

use tr command:

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic