-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Sandeep" == sandeep3 <[EMAIL PROTECTED]> writes:
Sandeep> Hi all, Sandeep> When I ftp some components from one node to another , I Sandeep> found some control characters in the end of all lines. Sandeep> Here is copy paste : Sandeep> ------------------------------------- ROCEDURE Sandeep> PR_BOOKING_TEMPLATE_CREATION^M Sandeep> [snip] One file: tr -d '\015' < file > newfile Multiple files: mkdir foo for i in * ; do tr -d '\015' < $i > foo/$i ; done for i in * ; do cat foo/$i > $i ; done Preserves ownership and permissions. Regards, - -- Raju - -- Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F It is the mind that moves -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFCPoF2yWjQ78xo0X8RApv2AJ9RptUdHZaFJzC9VIyK4TDTbu6IpACeIGol 1qNgLKs7t9DhISEHdBkGmZU= =cjAg -----END PGP SIGNATURE----- _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/