[01:34] <thumper> I need a one liner command to pipe into to take input like "/a/b/c/d/.foo/e/g" and print out "/a/b/c/d"
[01:34] <thumper> I'm sure either sed or awk could do this
[01:34] <thumper> but my fu is low in these
[01:37] <mwhudson> thumper: | sed -e 's%\(.*\)/.foo/.*/' | ?
[01:37] <mwhudson> thumper: | sed -e 's%\(.*\)/.foo/\1/' | ?
[01:37] <mwhudson> rather
[01:37] <mwhudson> aareareasfda
[01:37] <mwhudson> thumper: | sed -e 's%\(.*\)/.foo%\1%' | ?
[01:37] <mwhudson> maybe third time lucky
[01:38] <thumper> with a tweak that works
[01:38]  * thumper thrashes the server
[01:39] <thumper> oh FFS
[01:39] <ojwb> or simpler: sed 's%/\.foo.*%%'
[01:39] <thumper> unique isn't installed on the server
[01:39] <ojwb> ITYM uniq
[01:40] <thumper> ah..
[01:40] <thumper> yeah
[01:40] <thumper> I was wondering why it wanted package 'john'
[18:56] <ibeardslee> morning
[18:58] <ajmitch> morning
[19:10] <Atamira> mornin
[21:23] <thumper> morning
[21:27] <mwhudson> morning
[21:28] <mwhudson> ibeardslee: so did i understand right that for any 'business' hp laptop on ascent, i can get it $200 cheaper with freedos?
[21:34]  * ibeardslee is hoping
[21:34] <ibeardslee> but .. "I am still getting HP to clarify whether we can advertise this on our website for all end users"
[21:35] <ibeardslee> if that isn't the case I'll start throwing wobblies again
[21:38] <ojwb> they really should milk this for some cheap publicity
[21:39] <ojwb> though perhaps HP don't want MS to hear about it
[21:39] <ibeardslee> ojwb: I'm trying to get them to get a press release sorted .. I want it milked
[22:12] <timClicks> this may sound silly but are lp packaging recipes as good as they seem to be on the label.. is it possible to bring in arbitrarily large numbers of dependencies (as long as they have a bzr source)  and have a deb at the end?
[22:13] <ajmitch> the packaging rules still have to explain how to put it all together
[22:14] <timClicks> I see
[22:14] <timClicks> Makes sense
[22:14] <ajmitch> it's not just a case of listing a whole lot of upstream branches, hitting the switch & having magic happen :)
[22:14] <ajmitch> but merging in a packaging branch on top of upstream code
[22:14] <ajmitch> I haven't used recipes, so I can't really explain details
[22:15] <timClicks> hrm... I've just started hacking on a  C++ project. They use a shell scripts to install the dependencies & cmake to compile
[22:16] <ajmitch> there are a few packages in ubuntu that use cmake
[22:16] <timClicks> okay, that's a good sign
[22:16] <ajmitch> it shouldn't be too hard to look at them for inspiration
[22:16] <timClicks> in fact, they've moved to providing a remixed ubuntu just to get people up & running
[22:17] <ajmitch> that seems a bit extreme
[22:17] <ajmitch> what's the project?
[22:17] <timClicks> opencog
[22:17] <timClicks> lp:opencog
[22:18] <ajmitch> so the branch appears to have packaging info in it already
[22:19] <ajmitch> not particularly up to date, but it's there
[22:19] <timClicks> mmhmm
[22:28] <ojwb> debhelper 7 minimal rules files can handle cmake build systems
[22:28] <ojwb> or at least the saner ones