RE: reg ftp

2001-05-25 Thread Gregory L. Hering
e- From: Stephen P. Potter [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 8:45 AM To: baby lakshmi Cc: [EMAIL PROTECTED] Subject: Re: reg ftp Lightning flashed, thunder crashed and "baby lakshmi" <[EMAIL PROTECTED] > whispered: | hi | while doing ftp from windows to unix, th

Re: reg ftp

2001-05-25 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "baby lakshmi" <[EMAIL PROTECTED] > whispered: | hi | while doing ftp from windows to unix, the file contains ctl M at the end of | each line. my file is a huge data file. i am not able to delete that. is | there any better way to delete it. | If anyone can

RE: reg ftp

2001-05-25 Thread Gregory L. Hering
t: Friday, May 25, 2001 4:07 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: reg ftp hi thank you for ur mail. i have given bin while ftping it. still i am getting the same problem. Thank you regards babylakshmi >From: "Antonio Greco" <[EMAIL PROTECTED]> >To:

re: reg ftp

2001-05-25 Thread Steve Neu
Here's one I like... (for removing evil ctrl M's) perl -w -i -p -e "s/\x0d//g" filename Stephen Neu Internet Development Characterlink.net (630) 323-9800 ext. 235 #!/usr/bin/perl #JustAnotherPerlHacker ($, ,@j15)=('t','Kvt' ,' Bop','ifs', ' Q', 'sm Ibdl' ,'s') ;foreach ( @j15){ tr/B-Zb-

RE: reg ftp

2001-05-25 Thread Gregory L. Hering
How 'bout ftp in ASCII mode. I recon' that's what it's for. Greg -Original Message- From: baby lakshmi [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 1:50 AM To: [EMAIL PROTECTED] Subject: reg ftp hi while doing ftp from windows to unix, the file contains

Re: reg ftp

2001-05-25 Thread Brett W. McCoy
On Fri, 25 May 2001, baby lakshmi wrote: > while doing ftp from windows to unix, the file contains ctl M at the end of > each line. my file is a huge data file. i am not able to delete that. is > there any better way to delete it. Use Perl to do it: perl -pi.bak -e 's/\cM//g' filename1 filename

Re: reg ftp

2001-05-25 Thread Hasanuddin Tamir
On Fri, 25 May 2001, baby lakshmi <[EMAIL PROTECTED]> wrote, > hi > while doing ftp from windows to unix, the file contains ctl M at the end of > each line. my file is a huge data file. i am not able to delete that. is > there any better way to delete it. If you have access to that unix machin

Re: reg ftp

2001-05-25 Thread Gary Stainburn
If you use ftp in text mode, it should add the ^M when going towards windows and remove it when going away. This *should* be automatic. If this doesn't work, then you can handle it in your perl script. Instead of using chomp to remove the from the end of your line, use $line=~s/[\r\n]+$//;

Re: reg ftp

2001-05-25 Thread baby lakshmi
hi thank you for ur mail. i have given bin while ftping it. still i am getting the same problem. Thank you regards babylakshmi >From: "Antonio Greco" <[EMAIL PROTECTED]> >To: "baby lakshmi" <[EMAIL PROTECTED]> >Subject: Re: reg ftp >Date: Fri, 25

reg ftp

2001-05-24 Thread baby lakshmi
hi while doing ftp from windows to unix, the file contains ctl M at the end of each line. my file is a huge data file. i am not able to delete that. is there any better way to delete it. If anyone can answer this, it wud be helpful to me. Thank you Regards babylakshmi __