[gentoo-user] [OT] awk - sed - grep = tying-myself-up-in-knots

2016-02-10 Thread Mick
I've been struggling to parse/split/substitute some names and numbers using a spreadsheet and think that this task may be easier to achieve using conventional *nix tools. The problem is I wouldn't know where to start. I have a directory with loads of images. Each image file name has a

Re: [gentoo-user] [OT] awk - sed - grep = tying-myself-up-in-knots

2016-02-10 Thread Dale
Mick wrote: > <<< SNIP >>> > > 2. the part number, but replacing the hyphen with "/", like so: > > 012/63099 > > > I'm no expert on this sort of thing, and some other subscribers here could verify this, but I have a question. Wouldn't using a "/" make it think of it as a directory instead of a

Re: [gentoo-user] [OT] awk - sed - grep = tying-myself-up-in-knots

2016-02-10 Thread Nils Freydank
Hi Mick! Am Mittwoch, 10. Februar 2016, 17:02:46 CET schrieb Mick: > I've been struggling to parse/split/substitute some names and numbers using > a spreadsheet and think that this task may be easier to achieve using > conventional *nix tools. The problem is I wouldn't know where to start. I was

Re: [gentoo-user] [OT] awk - sed - grep = tying-myself-up-in-knots

2016-02-10 Thread J. Roeleveld
On Wednesday, February 10, 2016 05:02:46 PM Mick wrote: > I've been struggling to parse/split/substitute some names and numbers using > a spreadsheet and think that this task may be easier to achieve using > conventional *nix tools. The problem is I wouldn't know where to start. > > I have a

Re: [gentoo-user] [OT] awk - sed - grep = tying-myself-up-in-knots

2016-02-10 Thread Alexander Kapshuk
On Wed, Feb 10, 2016 at 7:02 PM, Mick wrote: > I've been struggling to parse/split/substitute some names and numbers using a > spreadsheet and think that this task may be easier to achieve using > conventional *nix tools. The problem is I wouldn't know where to start. >

[gentoo-user] Re: [OT] awk - sed - grep = tying-myself-up-in-knots

2016-02-10 Thread James
Mick gmail.com> writes: > some-description-with-words-012-63099.jpg > The number and length of the words change for each file. The part number > always has two components separated by a hyphen, but may also change > in length and acquire more/fewer digits. I need two outputs: > 1. the

Re: [gentoo-user] llvm clang ABI confusion

2016-02-10 Thread Alan McKinnon
On 10/02/2016 23:52, James wrote: > Hello, > > My previous post suggest that every file under /etc/portage > > can be parsed for flags and directives. I removed all of the archives > > and that cleanup of /etc/portage/ is in progress. This question > > is unrelated, as best as I can tell. >

Re: [gentoo-user] [OT] awk - sed - grep = tying-myself-up-in-knots

2016-02-10 Thread Mick
On Wednesday 10 Feb 2016 20:28:29 Alexander Kapshuk wrote: > On Wed, Feb 10, 2016 at 7:02 PM, Mick wrote: > > I've been struggling to parse/split/substitute some names and numbers > > using a spreadsheet and think that this task may be easier to achieve > > using

[gentoo-user] llvm clang ABI confusion

2016-02-10 Thread James
Hello, My previous post suggest that every file under /etc/portage can be parsed for flags and directives. I removed all of the archives and that cleanup of /etc/portage/ is in progress. This question is unrelated, as best as I can tell. Ok, so I just went to install something and got this

Re: [gentoo-user] llvm clang ABI confusion

2016-02-10 Thread Neil Bothwick
On Wed, 10 Feb 2016 21:52:16 + (UTC), James wrote: > in my /etc/portage/package.use/000.abi I have this > entry:: */* -abi_x86_32 When package.use (and other package.*) is a directory, the files in it are concatenated, in lexical order. So your entry appears right at the start. This

[gentoo-user] Re: llvm clang ABI confusion

2016-02-10 Thread James
James tampabay.rr.com> writes: > > 1. Relax your stance and accept that some software out there that you > > might want is 32 bits > > 2. Refuse to have 32 bits, so give up on llvm and clang. Find something > > else and move on. > > You must pick one of those two. There is no magic hidden

[gentoo-user] Re: llvm clang ABI confusion

2016-02-10 Thread James
Alan McKinnon gmail.com> writes: > 1. Relax your stance and accept that some software out there that you > might want is 32 bits > 2. Refuse to have 32 bits, so give up on llvm and clang. Find something > else and move on. > You must pick one of those two. There is no magic hidden solution

[gentoo-user] Re: llvm clang ABI confusion

2016-02-10 Thread James
Neil Bothwick digimed.co.uk> writes: > > I still want to ensure I have no 32 bit packages on this system. > Why? What is special about 32 bit libraries? They are dependencies like > any other, if a package needs them why try to stop portage installing > them? Experimentation. I trying to