When getting something like:
freeswitch@internal> reloadxml
+OK [[error near line 7391]: unexpected closing tag </condition>]
I’m sure I used to do something along the lines of:
cat -n /var/log/freeswitch/freeswitch.xml.fsxml | sed -n '7380,7400p'
And there at 7391 would be the offending line, surrounded by some of the lines before and after.
Now, however, the line is never at the corresponding number. Am I looking at the wrong file maybe?