HP3000-L Archives

January 2005, 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:
Mark Landin <[log in to unmask]>
Reply To:
Mark Landin <[log in to unmask]>
Date:
Tue, 18 Jan 2005 08:31:49 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
If your files are not all in one directory, you can do this fancy
UNIX-y thing (again, in the shell):

find . | xargs grep -F ".avi"

The "find . " finds all files in the current working directory AND all
subdirectories. This list of files is passed via the "|" (read "pipe")
to the xargs command, feeds the whole list of files to the grep
command.


On Tue, 18 Jan 2005 00:26:34 -0800, Craig Lalley <[log in to unmask]> wrote:
> assuming you are on a 3000
>
> Run sh.hpbin.sys
> >grep .avi *
>
> The * will search everything in your current working directory, feel free to use your own wildcards.  :-)
>
> -Craig
>
> Art Bahrs <[log in to unmask]> wrote:
> Hi All :)
> Ok... I want to look for the pattern .avi in a fairly large fileset ...
> um... 30+ files of 1-3 gigs each file... and report the lines that I find
> and I want to use grep...
>
> Being the silly person that I am... I thot this would be relatively
> easy... hehe... so? How does I do it?
>
> Art "Don't ask why...I am validating other software hehe" Bahrs

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2