[GRASS5] strange things on cmd line
Bernhard Reiter
bernhard at intevation.de
Thu, 7 Feb 2002 12:52:49 +0100
--wULyF7TL5taEdwHz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Feb 07, 2002 at 09:56:57AM +0100, Markus Neteler wrote:
> On Wed, Feb 06, 2002 at 05:39:43PM -0700, Roger Miller wrote:
> > On Wednesday 06 February 2002 15:31, Markus Neteler wrote:
> >=20
> > > Hi,
> > >
> > > today I found something unusual (maybe my error?):
> >=20
> > Command line continuation (are not) should be determined by your
> > shell, not by GRASS. If it is a problem, then would it be
> > GRASS's problem or a problem with the shell?
>=20
> I have been using "\" successfully with other commands in GRASS (in bash).
> Only s.surf.rst fails. Probably a parsing problem in that module?
If shell continuation works, the program will see exactly the same
as with a long line. Make sure you do not have anything on the line=20
after the backslash.=20
There might be a problem with parsing spaces and tabs in the module
if the above does not solve the problem.
For illustration see the following tests:
$ echo $BASH_VERSION=20
2.03.0(1)-release
$ echo bla bla bla | od -tcx
0000000 b l a b l a b l a \n
20616c62 20616c62 0a616c62
0000014
bernhard@abnoba:~$ echo bla bla\ =20
> bla | od -tcx
0000000 b l a b l a b l a \n
20616c62 20616c62 0a616c62
0000014
bernhard@abnoba:~$ echo bla bla \ =20
> bla | od -tcx
0000000 b l a b l a b l a \n
20616c62 20616c62 0a616c62
0000014
Bernhard
--=20
Professional Service for Free Software (intevation.net) =
=20
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)
--wULyF7TL5taEdwHz
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iEYEARECAAYFAjxiapEACgkQh9ag3dpKERZMgACfXRTGYW26GW2/KE2AZrGQO92Z
OPAAoJMNfpr2yq4wS2vHDECMaGdgkrlJ
=hXpS
-----END PGP SIGNATURE-----
--wULyF7TL5taEdwHz--