"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.