How to set as record separator in a Perl one liner?

2012-07-16 Thread De-Jian Zhao
Hi, I want to change the record separator in a Perl one liner with as the separator. However, I tried without success. The perlrun document (http://perldoc.perl.org/perlrun.html#Command-Switches) says that* ***-0*[/octal/hexadecimal/] * specifies the input record separator (|$/| ) as an

Re: How to set as record separator in a Perl one liner?

2012-07-16 Thread Michael Brader
On 07/16/2012 04:05 PM, De-Jian Zhao wrote: Hi, I want to change the record separator in a Perl one liner with as the separator. However, I tried without success. The perlrun document (http://perldoc.perl.org/perlrun.html#Command-Switches) says that* ***-0*[/octal/hexadecimal/] * specifies

Re: How to set as record separator in a Perl one liner?

2012-07-16 Thread Shlomi Fish
Hi Dejian, On Mon, 16 Jul 2012 14:35:33 +0800 De-Jian Zhao dejian.z...@gmail.com wrote: Hi, I want to change the record separator in a Perl one liner with as the separator. However, I tried without success. The perlrun document (http://perldoc.perl.org/perlrun.html#Command-Switches)

Re: How to set as record separator in a Perl one liner?

2012-07-16 Thread John W. Krahn
Michael Brader wrote: On 07/16/2012 04:05 PM, De-Jian Zhao wrote: I want to change the record separator in a Perl one liner with as the separator. However, I tried without success. The perlrun document (http://perldoc.perl.org/perlrun.html#Command-Switches) says that*