From: Loki Harfagr on
Tue, 09 Mar 2010 20:39:38 +0000, The Natural Philosopher did cat :

> Phred Phungus wrote:
>> Greg Russell wrote:
>>> In news:7vl6hnFd86U1(a)mid.individual.net, Phred Phungus
>>> <Phred(a)example.invalid> typed:
>>>
>>>>>> Why didn't they get moved like the other files, as they also match
>>>>>> the regex.
>>>>> "*.c~" most certainly does NOT match "*.c", as the tilde is a
>>>>> character that is not included in the regexp.
>>>> Right. I was thinking that i was grep'ing with \\.c , which, I
>>>> htink, would have been different.
>>>
>>> That doesn't address the tilde either ... why do you repeatedly ignore
>>> the
>>> tilde?
>>>
>>>
>>>
>> Because I've screwed up almost everything I've tried to grep in the
>> last week. I need to spend a week on regex's again.
>>
> As with most regexp things, you could have moved the files by hand 20
> times over in that time ;-)

Could be but then you'd have missed that victory feeling when you'll
get the impression that you made a reusable tool and also that other
feeling on that next time you'd try and use the 'reusable' regexp and
watch the mountains crumble and the stars fall with that special
look in your eyes and all these daemons croaking in your ears.
From: The Natural Philosopher on
Loki Harfagr wrote:
> Tue, 09 Mar 2010 20:39:38 +0000, The Natural Philosopher did cat :
>
>> Phred Phungus wrote:
>>> Greg Russell wrote:
>>>> In news:7vl6hnFd86U1(a)mid.individual.net, Phred Phungus
>>>> <Phred(a)example.invalid> typed:
>>>>
>>>>>>> Why didn't they get moved like the other files, as they also match
>>>>>>> the regex.
>>>>>> "*.c~" most certainly does NOT match "*.c", as the tilde is a
>>>>>> character that is not included in the regexp.
>>>>> Right. I was thinking that i was grep'ing with \\.c , which, I
>>>>> htink, would have been different.
>>>> That doesn't address the tilde either ... why do you repeatedly ignore
>>>> the
>>>> tilde?
>>>>
>>>>
>>>>
>>> Because I've screwed up almost everything I've tried to grep in the
>>> last week. I need to spend a week on regex's again.
>>>
>> As with most regexp things, you could have moved the files by hand 20
>> times over in that time ;-)
>
> Could be but then you'd have missed that victory feeling when you'll
> get the impression that you made a reusable tool and also that other
> feeling on that next time you'd try and use the 'reusable' regexp and
> watch the mountains crumble and the stars fall with that special
> look in your eyes and all these daemons croaking in your ears.

Nope. Never had that with regexp.

More of a premature ejaculation, in that you got to the end of it, but
overall the result was less than satisfactory for all parties involved.
From: Greg Russell on
In news:7vp7h7Fvr5U1(a)mid.individual.net,
Phred Phungus <Phred(a)example.invalid> typed:

> C is what I know. Unix is what I don't know.

Get started learning Linux with http://rute.2038bug.com/index.html.gz "The
Rute Tutorial."


From: Phred Phungus on
Greg Russell wrote:
> In news:7vp7h7Fvr5U1(a)mid.individual.net,
> Phred Phungus <Phred(a)example.invalid> typed:
>
>> C is what I know. Unix is what I don't know.
>
> Get started learning Linux with http://rute.2038bug.com/index.html.gz "The
> Rute Tutorial."
>
>


Thx, Greg, I've already got it bookmarked and am working my way through it.

I just spent another fifteen minutes and found them very worthwhile. I
think I'll just try to concentrate on that tonight.
--
fred
From: Phred Phungus on
The Natural Philosopher wrote:
> Loki Harfagr wrote:
>> Tue, 09 Mar 2010 20:39:38 +0000, The Natural Philosopher did cat :
>>
>>> Phred Phungus wrote:
>>>> Greg Russell wrote:
>>>>> In news:7vl6hnFd86U1(a)mid.individual.net, Phred Phungus
>>>>> <Phred(a)example.invalid> typed:
>>>>>
>>>>>>>> Why didn't they get moved like the other files, as they also match
>>>>>>>> the regex.
>>>>>>> "*.c~" most certainly does NOT match "*.c", as the tilde is a
>>>>>>> character that is not included in the regexp.
>>>>>> Right. I was thinking that i was grep'ing with \\.c , which, I
>>>>>> htink, would have been different.
>>>>> That doesn't address the tilde either ... why do you repeatedly ignore
>>>>> the
>>>>> tilde?
>>>>>
>>>>>
>>>>>
>>>> Because I've screwed up almost everything I've tried to grep in the
>>>> last week. I need to spend a week on regex's again.
>>>>
>>> As with most regexp things, you could have moved the files by hand 20
>>> times over in that time ;-)
>>
>> Could be but then you'd have missed that victory feeling when you'll
>> get the impression that you made a reusable tool and also that other
>> feeling on that next time you'd try and use the 'reusable' regexp and
>> watch the mountains crumble and the stars fall with that special
>> look in your eyes and all these daemons croaking in your ears.
>
> Nope. Never had that with regexp.
>
> More of a premature ejaculation, in that you got to the end of it, but
> overall the result was less than satisfactory for all parties involved.

The edifice I created to do something as simple as cutting and pasting
was a clearly oversized foundation, but a guy like me learns a lot on
the way.

I just learned this:
$ uname
Linux
$

What would this say if it were run on a mac terminal?
--
fred