Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #12093

Include column in syntax error message

From Karl-Philipp Richter <richter@richtercloud.de>
Newsgroups gnu.bash.bug
Subject Include column in syntax error message
Date 2015-12-23 00:17 +0100
Message-ID <mailman.428.1450858790.843.bug-bash@gnu.org> (permalink)

Show all headers | View raw


-----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-----

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Include column in syntax error message Karl-Philipp Richter <richter@richtercloud.de> - 2015-12-23 00:17 +0100

csiph-web