Thoughts regular expressions in, for example sed

Johnny Rosenberg gurus.knugum at gmail.com
Sat Jan 12 21:31:58 UTC 2013


2013/1/12 Hormatzhan Yiltiz <hyiltiz at gmail.com>:
> I suppose this thread can be marded as *solved*.
>
>
> On Sun, Jan 13, 2013 at 3:00 AM, Paul Smith <paul at mad-scientist.net> wrote:
>>
>> On Sat, 2013-01-12 at 19:21 +0100, Johnny Rosenberg wrote:
>> > 2013/1/12 Hormatzhan Yiltiz <hyiltiz at gmail.com>:
>> > > That is, of course, is not something that we want. AT MOST, it can be
>> > > just deemed as a feature for *sed*, or even installing the core system
>> > > is
>> > > out of the question.
>> > > In this case, I strongly agree with Paul.
>> >
>> > Anyway, I think it could happen if it is created from scratch as
>> > something entirely new with another name, not supposed to be
>
>
> I figured out what Johnny means here.
> For that entirely new thing, we need theoretical structures where it
> specifies
> the structure of language and specification (as, by the way, what regualer
> expressions do).
> Coming up with an entirely new theory like this is not always as easy as it
> sounds, especially
> when some other theory has already an applicable results.


Well, it doesn't even sound easy…
Anyway, all this was just some loose thoughts about it all, I think I
wrote that in the subject line, even though one word is missing there…
It wasn't like I asked someone to actually create this monster for me…
:)


Have a nice weekend, everybody.



Johnny Rosenberg

>
>> > compatible with anything. If it's good and consistent (and known…),
>> > people might want to use it
>>
>> But we already have that.
>>
>> That's what I've been saying all week: learn to use Perl.  Or Python.
>> Or Lua, Ruby, etc. etc.
>>
>> If you want to learn UNIX tools like sed, grep, and awk, then learn them
>> as they are, they won't change... that's precisely why people use them!
>> If you want to learn something completely different, there are PLENTY of
>> options that already exist.
>>
>> > >> 2013/1/12 Paul Smith <paul at mad-scientist.net>:
>> > >> > On Sat, 2013-01-12 at 15:05 +0100, Johnny Rosenberg wrote:
>> > >> >> Maybe it's time for ”the next version” (total remake) of the whole
>> > >> >> concept of regular expressions and give it a few decades.
>> > >> >> The old ”version” could then be referred to as ”regular
>> > >> >> exceptions”…
>> > >> >
>> > >> > So, no, not gonna happen.
>> > >>
>> > >> That's because everyone says that it's not going to happen…
>> > >> People said that about lots of things 30 years ago, and many of those
>> > >> things doesn't even exist today…
>>
>> But many still do... such as many UNIX tools.  Sed and awk, for example,
>> are almost 35 years old.




More information about the ubuntu-users mailing list