From: nospamatall on
Sorry to bother you with this, but I'm not familiar with more
appropriate groups and there seem to be knowledgeable people here who
would know the answer:

Is it possible with grep (e.g. in BBEdit) to increment and decrement a
forward and back link through a 700 page site? If BBEdit is told to do a
multi file search will it go through the directory in order? Or could
you tell grep to increment based on the filename of the present file?

I have RTFM a few times over the years, and I re-read the grep section
just now.

Thanks

Andy
From: Howard S Shubs on
In article <fukpgb$elg$1(a)aioe.org>, nospamatall <nospamatall(a)iol.ie>
wrote:

> Is it possible with grep (e.g. in BBEdit) to increment and decrement a
> forward and back link through a 700 page site? If BBEdit is told to do a
> multi file search will it go through the directory in order? Or could
> you tell grep to increment based on the filename of the present file?

I'm unclear regarding what you're trying to do. What is "increment and
decrement a forward and back link"?

--
Never insult a dude with only half a pair of dueling pistols.
- voodoorootbeer on TMBO
From: nospamatall on
Howard S Shubs wrote:
> In article <fukpgb$elg$1(a)aioe.org>, nospamatall <nospamatall(a)iol.ie>
> wrote:
>
>> Is it possible with grep (e.g. in BBEdit) to increment and decrement a
>> forward and back link through a 700 page site? If BBEdit is told to do a
>> multi file search will it go through the directory in order? Or could
>> you tell grep to increment based on the filename of the present file?
>
> I'm unclear regarding what you're trying to do. What is "increment and
> decrement a forward and back link"?
>

If I had, for example a set of links at the bottom of each page, back,
top and forward, and could name them anything I like to facilitate the
grep search. The files could be named, say, page001 page002 etc. and be
in the same directory. I want to avoid javascript and maybe have grep
insert the next page and previous page in those links. Or some other way
to automate it and not have to go through 700 pages manually doing those
links.

Thanks
Andy
From: Jolly Roger on
In article <ful4ou$k7$1(a)aioe.org>, nospamatall <nospamatall(a)iol.ie>
wrote:

> Howard S Shubs wrote:
> > In article <fukpgb$elg$1(a)aioe.org>, nospamatall <nospamatall(a)iol.ie>
> > wrote:
> >
> >> Is it possible with grep (e.g. in BBEdit) to increment and decrement a
> >> forward and back link through a 700 page site? If BBEdit is told to do a
> >> multi file search will it go through the directory in order? Or could
> >> you tell grep to increment based on the filename of the present file?
> >
> > I'm unclear regarding what you're trying to do. What is "increment and
> > decrement a forward and back link"?
> >
>
> If I had, for example a set of links at the bottom of each page, back,
> top and forward, and could name them anything I like to facilitate the
> grep search. The files could be named, say, page001 page002 etc. and be
> in the same directory. I want to avoid javascript and maybe have grep
> insert the next page and previous page in those links. Or some other way
> to automate it and not have to go through 700 pages manually doing those
> links.

Why would you have to go through all those links to begin with? What
are you actually trying to do?

--
Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR
From: nospamatall on
Jolly Roger wrote:
> In article <ful4ou$k7$1(a)aioe.org>, nospamatall <nospamatall(a)iol.ie>
> wrote:
>
>> Howard S Shubs wrote:
>>> In article <fukpgb$elg$1(a)aioe.org>, nospamatall <nospamatall(a)iol.ie>
>>> wrote:
>>>
>>>> Is it possible with grep (e.g. in BBEdit) to increment and decrement a
>>>> forward and back link through a 700 page site? If BBEdit is told to do a
>>>> multi file search will it go through the directory in order? Or could
>>>> you tell grep to increment based on the filename of the present file?
>>> I'm unclear regarding what you're trying to do. What is "increment and
>>> decrement a forward and back link"?
>>>
>> If I had, for example a set of links at the bottom of each page, back,
>> top and forward, and could name them anything I like to facilitate the
>> grep search. The files could be named, say, page001 page002 etc. and be
>> in the same directory. I want to avoid javascript and maybe have grep
>> insert the next page and previous page in those links. Or some other way
>> to automate it and not have to go through 700 pages manually doing those
>> links.
>
> Why would you have to go through all those links to begin with? What
> are you actually trying to do?
>
Make links that go from one page to the next in a 700 page site.