Search Results

Search: Posts Made By: Shenbaga.d
2,562
Posted By rbatte1
Can you paste in some sample input? (in CODE...
Can you paste in some sample input? (in CODE tags) and which command gives you which output please?

It might be that it looks like a space to a human but it is something else however the [^ ]...
946
Posted By Scott
Using diff and head if diff <(head -1...
Using diff and head


if diff <(head -1 file1.tsv) <(head -1 file2.tsv) > /dev/null; then
echo Headers OK
else
echo Headers not OK
fi


Or awk


awk 'A[NR]=$0 { nextfile }
END {...
946
Posted By bakunin
It looks like your headers are differently spaced...
It looks like your headers are differently spaced and i suppose this will not count as a difference, right?

If so: first get the headers (line 1 always?) and change all the spacings to a single...
Showing results 1 to 3 of 3

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