HP3000-L Archives

August 1997, Week 3

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:
Eric J Schubert <[log in to unmask]>
Reply To:
Eric J Schubert <[log in to unmask]>
Date:
Wed, 20 Aug 1997 16:28:45 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Hi.

Anyone know a workaround to this abort:

---
 shell/iX> grep "JOB" ./*
**** Illegal instruction address (TRAPS 56).

ABORT: GREP.HPBIN.SYS
[1] + Done (139) grep "JOB" ./*
  721117
Segmentation violation
grep
----

I tried a large stack when running the shell, still aborts.

I searched the HP3000-L archive and Mark Bixby suggested using POSIX "find"
command feeding grep a file at a time (but not in response to grep
aborting) ...

---
POSIX grep will change the access date.  The above scan in POSIX would be:

find /ACCOUNT/GROUP | xargs grep -i "string"
---

This works on large counts of files --- gets around the seg violation (above)

Eric
---
Eric J. Schubert, Senior Analyst
Excellence In Service - Office of Information Technologies
University of Notre Dame, Indiana USA 46556-5641

Phone: (219) 631-7306
http://www.nd.edu/~eschuber
http://www.nd.edu/~eisteam

ATOM RSS1 RSS2