HF RL Explorer

Task: Split Output of Command by Columns Using Bash

Task: Split Output of Command by Columns Using Bash: a task in Terminal-Lego-15k (Harbor dataset). Create a bash script that reliably extracts specific columns from command output, even when the output contains variable amounts of whitespace between columns (as is common with commands like ps , ls…

The task

Create a bash script that reliably extracts specific columns from command output, even when the output contains variable amounts of whitespace between columns (as is common with commands like `ps`, `ls -l`, `df`, etc.).

Part of PrimeIntellect/Terminal-Lego-15k.