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! 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. 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 -- 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
