What is a good placeholder character

2007-02-13 Thread vjp2
else {$_ .= qq(\n)}' ;} -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not

Re: DOS to Windows format tr/\n\r\t/ /

2007-02-13 Thread vjp2
. You can even run DOS commands from the URL box. -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything

Re: DOS to Windows format tr/\n\r\t/ /

2007-02-12 Thread vjp2
giotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not lazy obstructive guards] [Urb sprawl

Re: DOS to Windows format tr/\n\r\t/ /

2007-02-11 Thread vjp2
t mentions >DOS to Windows. -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private fi

Re: Pipe inside perl one liner

2007-02-11 Thread vjp2
No, I hope to fix that, but I want to avoid having to save it in files. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Pipe inside perl one liner

2007-02-11 Thread vjp2
).qq(\n)} elsif ($.%4==0) {$_ .= qq(\n).(q(=) x 37).qq(\n)} else {$_ .= qq(\n)}' ;} -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing

DOS to Windows format tr/\n\r\t/ /

2007-02-11 Thread vjp2
(\n).(q(=) x 37).qq(\n)} else {$_ .= qq(\n)}' ;} -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Ev

Merging Two One Liners without Temp Files

2007-02-09 Thread vjp2
How do I get these two into one one liner? Obviously, semicolon, but I want to operate on the file all over again without using tmp files. cp /net/u/1/v/vjp2/weco.txt /net/u/1/v/vjp2/junk.tmp cat /net/u/1/v/vjp2/junk.tmp | perl -n00e'tr/\t\r\n/ /; print "$1\n" while s/^(.{0,36}

Re: Seek wrap reformat routine

2007-02-09 Thread vjp2
00e'tr/\n/ /; print "$1\n" while s/^(.{0,69}\S)\s+//; print "\n"' -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothi

Re: Seek wrap reformat routine

2007-02-09 Thread vjp2
, but I'm guessing someone more experinced has a cleaner trick. PS, what is .{}-- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing her

Re: Seek wrap reformat routine

2007-02-09 Thread vjp2
;81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not lazy obstructive guards] [Urb sprawl confounds terror] [Remorse b

Re: Perl Libraries not for Web/CGI

2007-02-09 Thread vjp2
iotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not lazy obstructive guards] [Urb sprawl c

Re: Perl Libraries not for Web/CGI

2007-02-09 Thread vjp2
an, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not lazy obstructive guards] [Urb sprawl confounds terror] [Remorse b

Re: I get "no command found"

2007-02-09 Thread vjp2
It seems it was a DOS-UNIX cr/lf problem. > >Try without the -p switch and read about it in >perldoc perlrun. -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/

Perl Libraries not for Web/CGI

2007-02-08 Thread vjp2
http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not lazy obstructive guards] [Urb sprawl confounds terror] [Remorse begets zeal] [Windows is for Bimbos] -- To unsubscribe, e-mail: [EMAIL PROT

Seek wrap reformat routine

2007-02-08 Thread vjp2
Does anyone have a simple one-liner that can take a file of text and reformat each paragraph to a new column width? -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages

Reusing the file

2007-02-08 Thread vjp2
http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not lazy obstructive guards] [Urb sprawl confounds terror] [Remorse begets zeal] [Windows is for Bimbos] -- To unsubscribe, e

Text::Wrap in Okahata GNU DOS Perl 4.0M4?

2007-02-08 Thread vjp2
Anyone know if this version has these kinds of libraries? -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes a

The source of my prev questions

2007-02-08 Thread vjp2
- = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/vasos.htm ---{Nothing herein constitutes advice. Everything fully disclaimed.}--- [Homeland Security means private firearms not lazy obstructive

I get "no command found"

2007-02-08 Thread vjp2
x, it must be my mistake. For example perl -pe 'print "goat \n" ' (expects input here) -- - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist http://ourworld.compuserve.com/homepages/vjp2/