in reply to Read from a pipe with WinXP/AS 5.8.2?
You'll need to consult the docs/forums for the bash shell you are using
P:\test>ls | perl -nle"s/\./-.-/; print" 237671-.-pl8 242776-.-pl8 243366-.-pl8 250383-.-pl8 250495-.-pl8 251580-.-pl8 251933-.-pl8 252633-.-pl8 253059-.-pl8 [snip]
That's the GNU ls running under cmd.exe piping to AS perl5.8.1 under NT4.
Update: It also works fine under the sh.exe that comes from GNU utilities for Win32.
D:\WINNT\unxtools>sh HIAWATHA# ls | perl -ple" s/\./-.-/" FlexLexer-.-h StdDisclaimer-.-html UnxUtilsDist-.-html agrep-.-exe ansi2knr-.-exe basename-.-exe bc-.-exe bison-.-exe bison-.-hairy [snip]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Read from a pipe with WinXP/AS 5.8.2?
by graff (Chancellor) on Jan 07, 2004 at 05:16 UTC |