|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi all,
I have the Programming Perl book here, but I can't find this statement: perl -p -i -e 's/rn/~~CRLF~~/g' '$file' what are -p, -i, -e do? I see the code from someone else. Thank you very much. Nam. [This message has been edited by NamHN (edited October 31, 2000).] |
|
#2
|
|||
|
|||
|
I'm not sure the specifics of each one, but they basically allow you to run a tiny perl program without even writing a script. In other words, you type that into the command prompt and it'll compile your code and run it.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > system("perl -p -i -e 's/\r\\\\\n/~~CRLF~~/g' '$file'") |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|