Re: Include column in syntax error message

2015-12-28 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/22/15 6:17 PM, Karl-Philipp Richter wrote: > Hi, > Currently, syntax error messages like ``bash: syntax error near > unexpected token `;'``, e.g. after issuing `echo a &; echo b &; echo c > &;` aren't as helpful as they could be. It'd be nice to

Include column in syntax error message

2015-12-23 Thread Karl-Philipp Richter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Currently, syntax error messages like ``bash: syntax error near unexpected token `;'``, e.g. after issuing `echo a &; echo b &; echo c &;` aren't as helpful as they could be. It'd be nice to know at which column, i.e. which `;`, the message refer