HP3000-L Archives

January 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Wed, 26 Jan 2000 08:16:45 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
"Simonsen, Larry" wrote:
>
> I'm having what seems to be a problem with a fileset in Posix.  I'm in the
> shell and the command is
>
> $ grep -i "string" ../*RPT*/*
> **** Illegal instruction address (TRAPS 56).
>
> ABORT: GREP.HPBIN.SYS
> [1] + Done(139) grep -i "string" ../*RPT*/*
>   4259983    Segmentation violation  grep

Hmmmm, and I thought it was only /bin/ar that had trouble with ../foo
filenames.

> can some one please help me with the format of the file parameter when the
> wild card character is in the middle of what is a group in the MPE
> directory?

Your grep syntax looks legal to me.  You might want to see exactly what your
wildcard pattern is matching, i.e.:

        echo ../*RPT*/*

As a workaround, you might try:

        cd ..
        grep -i "string" *RPT*/*

You should definitely open an HPRC call about the original problem.  Grep
should not be aborting like that.

- Mark B.

ATOM RSS1 RSS2