Re: [GLLUG] Grep question

2022-10-27 Thread John Levin via GLLUG

Dear list,

Thanks very much to all who answered this query; it seems obvious when 
one knows the answer, but I was fixated on the stop, and not the dash.


John

On 27/10/2022 19:06, Philip Hands wrote:

John Levin via GLLUG  writes:

...

Is there something about the order of characters in regex square
brackets? Does the stop have a special meaning when given first?


The place to find the answer is in the regex(7) manpage:

   https://manpages.debian.org/testing/manpages/regex.7.en.html

in which you'll find this sentence regarding bracket expressions:

   To include a literal '-', make it the first or last character,
   or the second endpoint of a range.

   (there's also more there about how to start a range with a `-`)

Cheers, Phil.


--
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug


[GLLUG] Grep question

2022-10-27 Thread John Levin via GLLUG

Dear list,

In cleaning up mountains of OCR'd text, I've found Grep doing something 
I don't undesrtand.


The aim is to locate lines ending with certain punctuation marks(-—.) 
and spaces. But depending on the order of those punctuation marks, I get 
different results. With the full stop listed first, I get two results, 
one of which doesn't fit the criteria; with the stop third I get 5 lines 
correctly matching the criteria (and I presume, all the lines that do 
match).


johnl@Hasek:~/github/statutes$ grep ' [.-— ]\{3,\}$' W*/mon*.txt
and every of them are and is hereby obliged to accept, re- ...
1. s. Is there something about the order of characters in regex square 
brackets? Does the stop have a special meaning when given first?


Thanks in advance,

John

--
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug


Re: [GLLUG] Web hosting

2020-02-05 Thread John Levin via GLLUG

Dear all,

Thanks to everyone who replied. I went with mythic beasts in the end, 
though am thinking it would be a good idea to spread my (too) many sites 
over a couple of hosts, and will be keeping other options in mind.


Thanks very much!

john

On 16/01/2020 08:19, Dave Lambley via GLLUG wrote:

On Wed, 15 Jan 2020 at 23:30, John Levin via GLLUG
 wrote:


Dear all,

As I'm having major problems with my web host tsohost (who I'm with only
because they took over my previous host, evohosting) I'm now looking for
somewhere else to hold my various websites.

I'm considering Positive, though they are the most pricey option. Also
Reclaim Hosting, who are big in academia, but I'm slightly wary of
hosting in the USA.

Can anyone suggest a decent web host, using linux servers?


I've not yet used them myself, but Mythic Beasts do that kind of thing
and are fairly well regarded.

https://www.mythic-beasts.com/hosting

Cheers,
Dave



--

John Levin
http://www.anterotesis.com
http://twitter.com/anterotesis
https://hcommons.org/members/johnlevin/

--
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug

[GLLUG] Web hosting

2020-01-15 Thread John Levin via GLLUG

Dear all,

As I'm having major problems with my web host tsohost (who I'm with only 
because they took over my previous host, evohosting) I'm now looking for 
somewhere else to hold my various websites.


I'm considering Positive, though they are the most pricey option. Also 
Reclaim Hosting, who are big in academia, but I'm slightly wary of 
hosting in the USA.


Can anyone suggest a decent web host, using linux servers?

TIA

John
--

John Levin
http://www.anterotesis.com
http://twitter.com/anterotesis
https://hcommons.org/members/johnlevin/

--
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug