Opened 5 years ago
Closed 5 years ago
#3989 closed enhancement (worksforme)
v.to.db -p adds spurious blank line to beginning of output
Reported by: | jidanni | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 7.8.3 |
Component: | Database | Version: | git-releasebranch78 |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
v.to.db -p adds this leading blank line to output,
$ grass /home/jidanni/grassdata/ruanbikeng/TC46 --exec v.to.db -p map=Qingfu_st option=length type=line units=k Starting GRASS GIS... Cleaning up temporary files... Executing <v.to.db -p map=Qingfu_st option=length type=line units=k> ... Reading features... cat|length 1|0.157112134436172
Change History (4)
comment:1 by , 5 years ago
Milestone: | → 7.8.3 |
---|
comment:2 by , 5 years ago
comment:3 by , 5 years ago
I can't test for the next few months. All I remember is that I used an emacs shell window, or M-x compile. So many of interactive things that depend on terminals and CR LF stuff will look different.
comment:4 by , 5 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
As per https://grass.osgeo.org/grass78/manuals/variables.html, you can set for your case
GRASS_MESSAGE_FORMAT=plain
- sets percentage output and message formatting style to ASCII output without rewinding control characters.
I'll close for now, feel free to reopen as needed with more tests.
Note:
See TracTickets
for help on using tickets.
I have made a test:
Apparently the percentage output of progress is not shown on your system.
Did you set the variable
GRASS_MESSAGE_FORMAT
to anything specific?