Search Results

Search: Posts Made By: jedlund21
2,636
Posted By jedlund21
smw:/working/iso_testing # diff -y -b...
smw:/working/iso_testing # diff -y -b --suppress-common-lines a b | cut -f1
test.rpm
zip.rpm
smw:/working/iso_testing #
smw:/working/iso_testing # grep $(diff -y -b --suppress-common-lines a b |...
2,636
Posted By jedlund21
Thanks RudiC, your awk statement worked perfectly...
Thanks RudiC, your awk statement worked perfectly and I was able to test it out on some different scenarios.

I tried the same grep command you did, but got a little stuck when the output wasn't...
2,636
Posted By jedlund21
Hey!!! No syntax errors :) No output either. ...
Hey!!!
No syntax errors :)
No output either.
I was hoping to see:

test test.rpm

So I'll keep playing.
2,636
Posted By jedlund21
This for bash on SLES 12. ...
This for bash on SLES 12.

smw:/working/iso_testing # awk '
> FILENAME=="a" {arr[$0]++; next}
> FILENAME=="b" {if( !arr[$0] ) {srch[$0]++}
> FILENAME=="c" {if(srch[$0])...
2,636
Posted By jedlund21
I'm pretty new to this, but am I doing something...
I'm pretty new to this, but am I doing something wrong?

smw:/working/iso_testing # awk '
> FILENAME=="a" {arr[$0]++; next}
> FILENAME=="b" {if( !arr[[$0] ) {srch[$0]++}
> ...
2,636
Posted By jedlund21
Trying to use diff output to compare to a separate file
I have two files:

smw:/working/iso_testing # cat a
QConvergeConsoleCLI-1.1.03-49.x86_64.rpm
aaa_base-13.2+git20140911.61c1681-1.3.i586.rpm
acpica-20140724-2.1.2.i586.rpm
test.rpm


...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy