Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
jparker@epsilon.com — — source: Informix-list mailing list archive (1991-1998)
look for the record that someone popped a \\n into.
awk 'print length($0)}' <datafile | sort -nu will give you the record
lengths of all the diff records.
Now go back through and look for the short one:
awk '{if (length($0) != $std_length) print}' < datafile
of course if you have varchar in there you won't be seeing a std record
length, so you'll have to use a range.
if (length($0) < low_end || length($0) > high_end) ....
cheers
j.
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.