www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Pipe problem

↑ ↓ ← "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
It seems that any version later than 8.37 cannot be piped to another
process.

Specifically, I tend to use the command "dmc | grep -i blahblah" when
looking for a command option. On 8.38+, this just puts a "Error: No files
specified" to stderr. Weird.
Dec 12 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
news:brc2vt$1pdk$1 digitaldaemon.com...
 It seems that any version later than 8.37 cannot be piped to another
 process.

 Specifically, I tend to use the command "dmc | grep -i blahblah" when
 looking for a command option. On 8.38+, this just puts a "Error: No files
 specified" to stderr. Weird.

If you're using my grep.exe, it doesn't read from stdin, hence the message.
Dec 12 2003
↑ ↓ "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
Ah. It must be different paths. (I normally use the Borland one)

Any reason why your grep couldn't be "enhanced"?

:)

Matthew

"Walter" <walter digitalmars.com> wrote in message
news:brcqtl$2sm4$1 digitaldaemon.com...
 "Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
 news:brc2vt$1pdk$1 digitaldaemon.com...
 It seems that any version later than 8.37 cannot be piped to another
 process.

 Specifically, I tend to use the command "dmc | grep -i blahblah" when
 looking for a command option. On 8.38+, this just puts a "Error: No


 specified" to stderr. Weird.

If you're using my grep.exe, it doesn't read from stdin, hence the


Dec 12 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
news:brdl85$12to$1 digitaldaemon.com...
 Ah. It must be different paths. (I normally use the Borland one)

 Any reason why your grep couldn't be "enhanced"?

Nobody seems to care <g>. It's a simple program I wrote because none of the other greps would work right on binary files.
Dec 13 2003
↑ ↓ "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
 Ah. It must be different paths. (I normally use the Borland one)

 Any reason why your grep couldn't be "enhanced"?

Nobody seems to care <g>. It's a simple program I wrote because none of

 other greps would work right on binary files.

I'd find it useful. Can you add it to the list?
Dec 13 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
news:brgfis$5od$1 digitaldaemon.com...
 Ah. It must be different paths. (I normally use the Borland one)

 Any reason why your grep couldn't be "enhanced"?

Nobody seems to care <g>. It's a simple program I wrote because none of

 other greps would work right on binary files.

I'd find it useful. Can you add it to the list?

Sure!
Dec 14 2003
↑ ↓ "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
 Ah. It must be different paths. (I normally use the Borland one)

 Any reason why your grep couldn't be "enhanced"?

Nobody seems to care <g>. It's a simple program I wrote because none



 the
 other greps would work right on binary files.

I'd find it useful. Can you add it to the list?

Sure!

Does your enthusiasm for the adding reflect a prioritisation of the task? ;)
Dec 15 2003
↑ ↓ → "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
news:brjtrg$25rp$1 digitaldaemon.com...
 Ah. It must be different paths. (I normally use the Borland one)

 Any reason why your grep couldn't be "enhanced"?

Nobody seems to care <g>. It's a simple program I wrote because none



 the
 other greps would work right on binary files.

I'd find it useful. Can you add it to the list?

Sure!

Does your enthusiasm for the adding reflect a prioritisation of the task?

No <g>. Bug reports come first.
Dec 15 2003