I have runned r.out.xyz in GRASS6.4 (Windows) with the following command:
r.out.xyz input=26B@PERMANENT output=C:\Test_areas\26B.txt fs= But, instead of placing 26.txt file in C:\Test_areas\ it has placed in a file named Test_areas26.txt in C:\ folder.
1- Is this expected?
2- Shall I report this bug?
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5371 (20100816) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
António Rocha wrote:
I have runned r.out.xyz in GRASS6.4 (Windows) with the following command:
r.out.xyz input=26B@PERMANENT output=C:\Test_areas\26B.txt
fs=
But, instead of placing 26.txt file in C:\Test_areas\ it has placed in a
file named Test_areas26.txt in C:\ folder.
1- Is this expected?
How are you executing the command? If you're using the bash shell, the
backslash is significant to the shell, so you have to either use a
forward slash:
r.out.xyz input=26B@PERMANENT output=C:/Test_areas/26B.txt
or quote the filename:
r.out.xyz input=26B@PERMANENT 'output=C:\Test_areas\26B.txt'
or escape the backslashes:
r.out.xyz input=26B@PERMANENT output=C:\\Test_areas\\26B.txt
If you're using the Windows shell (cmd.exe), it shouldn't have any
problems with backslashes.
2- Shall I report this bug?
I don't know if it is a bug.
If you are using bash, you just need to learn its syntax, or use
something else. If it's happening for commands entered within the GUI,
that's a problem with the GUI, and you should file a bug report with
sufficient information (i.e. exactly how the command was used).
--
Glynn Clements <glynn@gclements.plus.com>
Hello Glynn
How are you executing the command? If you're using the bash shell, the
backslash is significant to the shell, so you have to either use a
forward slash:
I'm using the r.out.xyz's Module GUI. So I'm not inserting the output filename by-and but using the filebrowser. I was expecting that the path would be adequate for the Script.
r.out.xyz input=26B@PERMANENT output=C:/Test_areas/26B.txt
or quote the filename:
r.out.xyz input=26B@PERMANENT 'output=C:\Test_areas\26B.txt'
or escape the backslashes:
r.out.xyz input=26B@PERMANENT output=C:\\Test_areas\\26B.txt
If you're using the Windows shell (cmd.exe), it shouldn't have any
problems with backslashes.
I will give a try. Thanks
Antonio
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5374 (20100817) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Hi,
2010/8/18 António Rocha <antonio.rocha@deimos.com.pt>:
Hello Glynn
I'm using the r.out.xyz's Module GUI. So I'm not inserting the output
filename by-and but using the filebrowser. I was expecting that the path
would be adequate for the Script.
TCL/TK GUI or wxGUI?
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa