[Eug-lug] To Horst-Q/colours

T. Joseph CARTER knghtbrd at bluecherry.net
Mon Jan 3 23:20:55 PST 2005


On Tue, Jan 04, 2005 at 12:56:22AM -0500, larry price wrote:
> On Mon, 3 Jan 2005 21:17:38 -0800, T. Joseph CARTER
> <knghtbrd at bluecherry.net> wrote:
> > They say Linux is free if your time has no value.  For the time invested,
> > though, you learn about a set of tools that are largely the same ones that
> > were developed 35 years ago for getting serious work done, and are still
> > some of the most effective tools for that purpose.  The UNIX shell
> > environment is at times a scary thing for new users, but once you get the
> > hang of it and how easily you can do most anything you want with it, I
> > think you'll be hard pressed to imagine anything else as worthwhile, even
> > if it does seem simpler for the time being.
> 
> Keep at it, and you might find yourself doing things like this 
> 
> find /usr/blah/ -type l -exec ls -l {} \; | sed 's/^.* \([^ ].*\) ->
> \(.*\)/ln -s \2 \/usr\/foo\/\1' > tmp; eval tmp; rm tmp
> 
> I actually used something like that earlier today, it made sense in context.

You're missing a / there before > tmp, and that's disgusting(!) and
clever.  ;)



More information about the EUGLUG mailing list