Search Results

Search: Posts Made By: etherite
7,968
Posted By etherite
Oh bother! It turns out that I didn't fully...
Oh bother!

It turns out that I didn't fully explain what I was trying to do. Jim's solution works for a single pair of strings that I wish to compare, however I actually have a file with pairs of...
7,968
Posted By etherite
An awk solution is great! Thanks Jim. I've...
An awk solution is great! Thanks Jim.

I've also just found cmp in the GNU DiffUtilities package, but yours is pretty much what I was looking for.
7,968
Posted By etherite
Finding character mismatch position in two strings
Hello,

I would like to find an efficient way to compare a pair of strings that differ at one position, and return the difference and position.

For example:

String1 123456789

String2...
Showing results 1 to 3 of 3

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