Want to create an hypsometric, hillshaded and colored hillshaded rendering of a DEM in a single command line ? This will be possible in @gdal 3.12 with nested pipelines, like:

gdal pipeline read n43.tif ! \
color-map --color-map color_file.txt ! \
tee [ write colored.tif ] ! \
color-merge --grayscale \
[ read n43.tif ! hillshade -z 30 ! tee [ write hillshade.tif ] ] ! \
write colored-hillshade.tif

https://github.com/OSGeo/gdal/pull/13009

Pipeline: add support for input and output nested pipelines by rouault · Pull Request #13009 · OSGeo/gdal

Fixes #12874. See https://github.com/rouault/gdal/blob/nested_pipeline/doc/source/programs/gdal_cli_include/gdal_nested_pipeline_intro.rst and https://github.com/rouault/gdal/blob/nested_pipeline/d...

GitHub
@EvenRouault @gdal Even, I think “!” is a meaningful character in bash, and maybe some other shells as well. The commandline user should not forget to put a space after it, otherwise it might trigger history expansion (and arbitrary code execution ?). Perhaps an other character would be better suited ? How about “,” (comma) ? It might need a note in the documentation.
@alkra @gdal I haven't encountered any issue with our use of "!" with bash