Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!usenet.stanford.edu!not-for-mail From: Karl-Philipp Richter Newsgroups: gnu.bash.bug Subject: Include column in syntax error message Date: Wed, 23 Dec 2015 00:17:49 +0100 Lines: 25 Approved: bug-bash@gnu.org Message-ID: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1450858790 12771 208.118.235.17 (23 Dec 2015 08:19:50 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.65 X-Mailman-Approved-At: Wed, 23 Dec 2015 03:19:49 -0500 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:12093 -----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 refers to by adding the column to the error message, e.g. ``bash: syntax error near unexpected token `;' (col. y)``. - -Kalle -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWedodAAoJEGadKJ8eJ7ZGuxgIAKNEc99Ohnqg9ePbZGpsiyQQ 9hoisAL7iAlogquq3iW6rc6fCEkR1E5sDg9nVroKsIbWlYSNVFD+MbcxhFMez5VO +9A1KyjGaZe9CwNytwrVl7FeQKHne29rDL5KKb3CiPsg5taVt4SQV2EA1bALMgzM zoHcm7m8PY/7mKCEOuS2mIfk2BX6V0K6yI/22qxCYKKj0PizGu8rfSRh10y4oFps STDKJwYXsW32KBEHP5ZwEDIVcnKxeMT5lk7Oh1C9Idb6DNGYT7q0PhE1G2CeECyf uFg+QG1e7CnfNIY5YNj8tWq15ufBttRnoqrHdCrKuxVwnDAAHuOXHogNSXvIGss= =qG4a -----END PGP SIGNATURE-----