325xi wrote:
> darrenyeats;221135 Wrote: 
>> I am not saying Linux is as easy as Win/Mac... But if you're reasonably
>> technical and curious, then Linux can be seen as an educational
>> experience. To use it you will learn a lot about computers in general,
>> e.g. networking, security etc which will help with all OSs :-)
>> Darren
> 
> :)
> I'm more then reasonably technical, and yet I don't understand why
> would I chose something that is not "as easy as Win/Mac", when I
> actually have... Win/Mac?

Because there are trade-offs between "easy" and "powerful" and/or stable.

I have XP machines too and, whilst my desktop PC (a laptop actually) is
only restarted for kernel upgrades (current uptime 52 days), any Windows
boxes I manage need rebooting every couple of days.

Consider another example of "easy" vs. "powerful" - search and replace
in a text editor. Simple plain-text search & replace is easy to use, but
 you are limited as to what you can replace. regexp search and replace
is immensely powerful but, ahem, not always easy.

For example, say I had a list of CDs in a text file, something like this:

Jimi Hendrix - All Along The Watchtower (1991)
Jimi Hendrix - Band Of Gypsys (1991)
Jimi Hendrix - Hendrix In The West (1989)
Jimi Hendrix - Kiss the Sky (1984)
Jimi Hendrix - Smash Hits (1989)
Jimi Hendrix - The Jimi Hendrix Concerts (1989)

And I want to map them onto their location in my library like this:

Jimi Hendrix - All Along The Watchtower (1991)  /music/Jimi
Hendrix/(1991) All Along The Watchtower
Jimi Hendrix - Band Of Gypsys (1991)    /music/Jimi Hendrix/(1991) Band Of
Gypsys
Jimi Hendrix - Hendrix In The West (1989)     /music/Jimi Hendrix/(1989)
Hendrix In The West
Jimi Hendrix - Kiss the Sky (1984)      /music/Jimi Hendrix/(1984) Kiss the Sky
Jimi Hendrix - Smash Hits (1989)       /music/Jimi Hendrix/(1989) Smash Hits
Jimi Hendrix - The Jimi Hendrix Concerts (1989)   /music/Jimi
Hendrix/(1989) The Jimi Hendrix Concerts

Well, this regex replacement expression (actually a vi command) will do
the job:

%s/^\([^-]*\) - \([^(]*\) (\([^(]*\)).*/\0\t\/music\/\1\/(\3) \2/

R.

_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/audiophiles

Reply via email to