Search Results

Search: Posts Made By: scott1256ca
15,506
Posted By scott1256ca
try ftp'ing in ascii mode You could also try...
try ftp'ing in ascii mode

You could also try the following once you get the file on unix
perl -pi -e 's/\r\n/\n/;' <filename>
This last command is from
dos2unix - perl and its wonderful tricks...
15,506
Posted By scott1256ca
you need to add nothing to the file tst.pl...
you need to add nothing to the file
tst.pl tst.txt
should produce the output if you use my original script and txt file

I thought I edited my original post to include the command line, but I...
6,742
Posted By scott1256ca
try this in bash for file in *.cvs ; do echo mv...
try this in bash
for file in *.cvs ; do echo mv $file `basename $file .cvs`.txt ; done

if the commands print out correctly, remove the echo

I never use while loops in sh (or bash), but I see...
15,506
Posted By scott1256ca
The following assumes you want a new line after...
The following assumes you want a new line after each
>
character, otherwise keep printing on the same line until you have one.

I'm calling it tst.pl
===================
#!/usr/bin/env perl...
2,453
Posted By scott1256ca
display ^M in xemacs
Sorry, this has probably been posted before, but my searches turn up nothing, and I have tried.

using a cygwin distro of xemacs
The default is NOT to display CR characters (I expect to see them...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 07:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy