bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Include column in syntax error message


From: Karl-Philipp Richter
Subject: Include column in syntax error message
Date: Wed, 23 Dec 2015 00:17:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]