fork download
  1. #!/bin/bash
  2. s='samplename1/filename1 anotherthing/anotherfile asdfgh/hjklñ
  3. 2 3 4
  4. 5 6 7'
  5. sed '1 s,/[^[:space:]]*,,g' <<< "$s"
Success #stdin #stdout 0s 4176KB
stdin
Standard input is empty
stdout
samplename1   anotherthing    asdfgh
        2                        3                      4
        5                        6                      7