On 2019-08-18 at 20:27:41, Eric Sunshine wrote: > For safety, it would probably be a good idea to check the exit status > of the 'sed' invocation in the for-loop: > > for i in "$1" "$2" > do > sed -e ... "$i" >"$i.compare" || return 1 > done && > ... I'll do that. > (Note, also, that I dropped the whitespace after the '>' operator.) Ah, good catch. -- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204