Web lists-archives.com

Re: Editing a piped in stream?




On 7/6/2018 6:17 PM, Richard Owlett wrote:
Subject line is poorly phrased.
While working on a problem {solved by a different approach} I had:
    ls -l /dev/disk/by-label/ | cut -f 10,12 -d ' ' data.txt
I would then manually edit data.txt by replacing the space character between the two fields with a tab.


What is your original output and what is the desired output?

--
John Doe