HF RL Explorer

Task: Indenting Multi-line Output in a Shell Script

Task: Indenting Multi-line Output in a Shell Script: a task in Terminal-Lego-15k (Harbor dataset). When displaying multi-line command output (such as git status ) in scripts like MOTD (Message of the Day), you often need to indent every line of the output with leading spaces for consistent…

The task

When displaying multi-line command output (such as `git status`) in scripts like MOTD (Message of the Day), you often need to indent every line of the output with leading spaces for consistent formatting. A simple `echo -n " "` before the command only indents the first line.

Part of PrimeIntellect/Terminal-Lego-15k.