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


Groups > gnu.bash.bug > #12093

Include column in syntax error message

Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!usenet.stanford.edu!not-for-mail
From Karl-Philipp Richter <richter@richtercloud.de>
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 <mailman.428.1450858790.843.bug-bash@gnu.org> (permalink)
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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:12093

Show key headers only | 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