#2639: grass command should read commands from stdin as an interpreter would do -------------------------+------------------------------------------------- Reporter: wenzeslaus | Owner: grass-dev@… Type: | Status: new enhancement | Priority: normal | Milestone: 8.0.0 Component: Startup | Version: unspecified Resolution: | Keywords: interface, CLI, script, batch job, CPU: | GRASS_BATCH_JOB, init, standard input Unspecified | Platform: All -------------------------+-------------------------------------------------
Comment (by wenzeslaus): The situation is much better then when the ticket was created. It is actually usable even with `> file.txt`. It still could be less verbose: {{{ $ grass79 -text --tmp-location XY <<EOF g.region -g EOF }}} {{{ Starting GRASS GIS... Creating new GRASS GIS location <tmploc>... Cleaning up temporary files... __________ ___ __________ _______________ / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/ / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / \____/_/ |_/_/ |_/____/____/ \____/___//____/ Welcome to GRASS GIS 7.9.dev (8635409) GRASS GIS homepage: https://grass.osgeo.org This version running through: Bash Shell (/bin/bash) Help is available with the command: g.manual -i See the licence terms with: g.version -c See citation options with: g.version -x Start the GUI with: g.gui wxpython When ready to quit enter: exit projection=0 zone=0 n=1 s=0 w=0 e=1 nsres=1 ewres=1 rows=1 cols=1 cells=1 Cleaning up temporary files... Done. Goodbye from GRASS GIS }}} -- Ticket URL: <https://trac.osgeo.org/grass/ticket/2639#comment:8> GRASS GIS <https://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev