I have a file with hundreds of records and I need to find those records that have three digits at the beginning and the same three digits at the end.
$GREP '\([a-z]\)\([a-z]\)\([a-z]\)\3\2\1'I
believe this is part of the script but I am not sure how to compare these 3 digits with the 3 digits at the end of the same line. Any help is appreciated. Thank you.