> Bruce wrote:
> See if awk 'BEGIN {FS="\\.so"}... works for you.
Hi Bruce,
It DOES !!!
Thank you very much!
As an aside, (to explain) why _I_ prefer 'awk' to 'sed' _in this case:
for f in `cat tempx.txt`; do echo $f | sed -r 's/(.*)\.so.*/\1/'; done
vs.
cat tempx.txt | awk 'BEGIN {FS="\\.s
alex lupu wrote:
> On Fri, Oct 11, 2013 at 10:48 PM, Bruce Dubbs wrote:
>
alex lupu wrote:
>>
> >> ...
> []$ cat tempx.txt | awk 'BEGIN {FS=".so"} ; {print $1}'
> >> ...
> >> Is there a problem with GNU gawk and/or my system or maybe with me?
>
>
>>> You.
>>> echo libsndf
On Fri, Oct 11, 2013 at 10:48 PM, Bruce Dubbs wrote:
> >> alex lupu wrote:
>
>> ...
[]$ cat tempx.txt | awk 'BEGIN {FS=".so"} ; {print $1}'
>> ...
>> Is there a problem with GNU gawk and/or my system or maybe with me?
> > You.
> > echo libsndfile.so.1.0.25 | sed -r 's/(.*)\.so.
alex lupu wrote:
> gawk - v. <= 4.1.0
> sed - v. whatever
>
> I have a file, 'tempx.txt' containing
> (for simplicity - some "so" files from my '/usr/lib/'),
>
> []$ cat tempx.txt
> libexpect5.43.so
> libsndfile.so.1.0.25
> libsoftokn3.so
> libsoup-2.4.so.1.5.0
>
> and I would like to separate th
gawk - v. <= 4.1.0
sed - v. whatever
I have a file, 'tempx.txt' containing
(for simplicity - some "so" files from my '/usr/lib/'),
[]$ cat tempx.txt
libexpect5.43.so
libsndfile.so.1.0.25
libsoftokn3.so
libsoup-2.4.so.1.5.0
and I would like to separate their "roots" from the rest, i.e.,
"libsnd
Op Wed, 09 Oct 2013 23:16:30 +0200 schreef William Harrington
:
>
> On Oct 9, 2013, at 3:32 PM, hans kaper wrote:
> Always helps to not miss a package install! I can usually tell when
> someone missed a package, but this is the first encounter of someone
> not installing iana-etc
>
I semi-automa