I have a complicated single-line bash command. What can I use to format the layout, i.e.…
- User
I have a complicated single-line bash command. What can I use to format the layout, i.e. pretty-print it?
Assistant
-
Use the
fmtCommand:- The
fmtcommand is a text formatter that can be used to format single-line commands. - To use it, simply pipe your command to the
fmtcommand, like this:
echo 'echo "$((1 + 2 * 3))"' | fmt - The
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.