Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

grep: (standard input): Not enough space

1,274 views
Skip to first unread message

happytoday

unread,
Aug 24, 2012, 6:58:07 AM8/24/12
to
I am running a batch file using the Berkeley unix utility grep under
PC . How should deal with that error ?

Lem Novantotto

unread,
Aug 24, 2012, 9:09:03 AM8/24/12
to
happytoday ha scritto:

> I am running a batch file using the Berkeley unix utility grep under PC
> .
> How should deal with that error ?

"How can I do to do what I wanna do?"

Please post your exact grep command, at least.
--
Bye, Lem
Ceterum censeo ISLAM esse delendum
_________________________________________________________________
Non sprecare i cicli idle della tua CPU, né quelli della tua GPU.
http://www.worldcommunitygrid.org/index.jsp
http://www.rnaworld.de/rnaworld/ http://home.edges-grid.eu/home/
http://www.gpugrid.net/

happytoday

unread,
Aug 24, 2012, 9:12:29 AM8/24/12
to
On Aug 24, 3:09 pm, Lem Novantotto <Le...@Hotmail.com> wrote:
> happytoday ha scritto:
>
> > I am running a batch file using the Berkeley unix utility grep under PC
> > .
> > How should deal with that error ?
>
> "How can I do to do what I wanna do?"
>
> Please post your exact grep command, at least.
> --
> Bye, Lem
> Ceterum censeo ISLAM esse delendum
> _________________________________________________________________
> Non sprecare i cicli idle della tua CPU, né quelli della tua GPU.
>          http://www.worldcommunitygrid.org/index.jsphttp://www.rnaworld.de/rnaworld/ http://home.edges-grid.eu/home/
>                    http://www.gpugrid.net/

@%binaries%\grep -c %filename%%code%_data_P.txt
@%binaries%\grep -c %filename%%code%_data_N.txt
@%binaries%\grep -c %filename%

Janis Papanagnou

unread,
Aug 24, 2012, 11:58:46 AM8/24/12
to
On 24.08.2012 15:12, happytoday wrote:
> On Aug 24, 3:09 pm, Lem Novantotto <Le...@Hotmail.com> wrote:
>> happytoday ha scritto:
>>
>>> I am running a batch file using the Berkeley unix utility grep under PC
>>> .
>>> How should deal with that error ?
>>
>> "How can I do to do what I wanna do?"
>>
>> Please post your exact grep command, at least.
>> --
>> Bye, Lem
>> Ceterum censeo ISLAM esse delendum
>> _________________________________________________________________
>> Non sprecare i cicli idle della tua CPU, n� quelli della tua GPU.
>> http://www.worldcommunitygrid.org/index.jsphttp://www.rnaworld.de/rnaworld/ http://home.edges-grid.eu/home/
>> http://www.gpugrid.net/
>
> @%binaries%\grep -c %filename%%code%_data_P.txt
> @%binaries%\grep -c %filename%%code%_data_N.txt
> @%binaries%\grep -c %filename%
>

SYNOPSIS
grep [OPTIONS] PATTERN [FILE...]
grep [OPTIONS] [-e PATTERN | -f FILE] [FILE...]

For the rest of your question consult a WinDOS newsgroup.

Janis

Lem Novantotto

unread,
Aug 24, 2012, 1:02:13 PM8/24/12
to
happytoday ha scritto:

> @%binaries%\grep -c %filename%%code%_data_P.txt
> @%binaries%\grep -c %filename%%code%_data_N.txt
> @%binaries%\grep -c %filename%

As Janis wrote, you're missing something in your command lines.

grep thinks %filename%%code%_data_P.txt, %filename%%code%_data_N.txt and
%filename% are patterns, it sees no files to scan, and then tries to
process standard input looking for the patterns (which is what, I guess,
gives that error on your system).

See also:
http://unix.derkeiler.com/Newsgroups/comp.unix.misc/2006-01/msg00003.html

Bill Marcum

unread,
Aug 24, 2012, 5:53:44 PM8/24/12
to
On 08/24/2012 09:12 AM, happytoday wrote:
>
> @%binaries%\grep -c %filename%%code%_data_P.txt
> @%binaries%\grep -c %filename%%code%_data_N.txt
> @%binaries%\grep -c %filename%
>
The syntax for 'grep -c' is
grep -c regexp [ filename ]
If no filename is given, grep searches standard input.
The -c option means the output is the number of lines matching
the regular expression.

0 new messages