On Fri, Apr 10, 2015 at 09:49:39PM -0300, Fernando de Oliveira wrote:
> On 10-04-2015 19:57, Ken Moffat wrote:
> > second attempt - I keep forgetting that only my lfs address is
> > subscribed to -book, but I probably ought to send this to -dev
> > anyway, so I'll take the opportunity to change the subject.
> > 
> > On Sat, Apr 04, 2015 at 06:27:12PM -0300, Fernando de Oliveira wrote:
> >> On 04-04-2015 15:02, Chris Staub wrote:
> >>> On 04/04/2015 01:43 PM, Chris Staub wrote:
> >>>> On 04/04/2015 12:39 PM, [email protected] wrote:
> >>>>> -        translations/source| cut -d/ -f4 | uniq</command>.
> >>>>> +        translations/source| cut -d/ -f4 | uniq | sort</command> .
> >>>>
> >>>> I believe sort should be run before uniq, though it would likely be even
> >>>> better to replace the whole "uniq | sort" construct with just "sort -u".
> >>>
> >>> Actually, this might be even better:
> >>>
> >>> tar -tf ../libreoffice-translations-4.4.2.2.tar.xz | awk -F/
> >>> '/translations\/source/ {print $4}' | sort -u
> >>
> >> Thanks, Chris,
> >>
> >> Just the fact that two people learned the existence of that command,
> >> introduced by Andy or Ken or someone else, today makes me feel that it
> >> deserves to stay as is.
> >>
> > Just coming back to this, (wanting to confirm what happens with this
> > new version if I continue to not install openldap, before I propose
> > a slight rewording of the dep). Umm, I don't think it was me that
> > came up with that command, and I had not previously noted it.  But
> > for me it does not work!
> 
> If it is for decreasing the number of recommended, it is very welcome, I
> have already started doing as you told recently. This time I haven't
> installed the red's and probably neither some others.

I took particular exception to openldap.  I think I already omitted
one or two others, but I know for a fact that I only build a few
other things because of LO and I'm not in any rush to drop things
which are simple to build and with active maintainers who are
friendly.
> 
> > I think there have been changes in recent coreutils, but maybe it
> > was in tar itself. For the translations, the owner and group from
> > tar -tf on LFS-7.7 show up as 'cloph/users' with a '/' dividing
> > them.
> 
> $ porg coreutils tar
> coreutils-8.23
> tar-1.28
> 
> > For me, -f5 instead of -f4 is now needed. Does the current version
> > still work for anybody on LFS-7.7 (I guess that it _might_
> > conceivably be a new locale issue) ?
> > 
> > ĸen
> > 
> 
> ĸen, they works for me:
> 
> tar -tf libreoffice-translations-4.4.2.2.tar.xz | \
> awk -F/ '/translations\/source/ {print $4}' | \
> third line
> 
I had remembered there was some discussion, tried the command in the
Note (I'd overlooked it recently), and found that what the book said
didn't work for me.  Yes, that command looks good and is even-more
educational.

ĸen
-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to