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:34 |
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:37 |
thumper | with a tweak that works | 01:38 |
* thumper thrashes the server | 01:38 | |
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:39 |
thumper | ah.. | 01:40 |
thumper | yeah | 01:40 |
thumper | I was wondering why it wanted package 'john' | 01:40 |
ibeardslee | morning | 18:56 |
ajmitch | morning | 18:58 |
Atamira | mornin | 19:10 |
thumper | morning | 21:23 |
mwhudson | morning | 21:27 |
mwhudson | ibeardslee: so did i understand right that for any 'business' hp laptop on ascent, i can get it $200 cheaper with freedos? | 21:28 |
* 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:34 |
ibeardslee | if that isn't the case I'll start throwing wobblies again | 21:35 |
ojwb | they really should milk this for some cheap publicity | 21:38 |
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 | 21:39 |
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:12 |
ajmitch | the packaging rules still have to explain how to put it all together | 22:13 |
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:14 |
timClicks | hrm... I've just started hacking on a C++ project. They use a shell scripts to install the dependencies & cmake to compile | 22:15 |
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:16 |
ajmitch | that seems a bit extreme | 22:17 |
ajmitch | what's the project? | 22:17 |
timClicks | opencog | 22:17 |
timClicks | lp:opencog | 22:17 |
ajmitch | so the branch appears to have packaging info in it already | 22:18 |
ajmitch | not particularly up to date, but it's there | 22:19 |
timClicks | mmhmm | 22:19 |
ojwb | debhelper 7 minimal rules files can handle cmake build systems | 22:28 |
ojwb | or at least the saner ones | 22:28 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!