Search Results

Search: Posts Made By: RudiC
3,707
Posted By RudiC
man diff: If your OS / shell...
man diff:





If your OS / shell don't offer "process substitution", try also:
sed 's/^# file.*/&\n\n&\n/' file2 | diff -y -b --suppress-common-lines - file1
3,707
Posted By RudiC
How far would $ diff -y -b...
How far would
$ diff -y -b --suppress-common-lines file1 <(sed 's/^# file.*/&\n\n&\n/' file2)
>
> # file: /local/test_1
...
Showing results 1 to 2 of 2

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