Search code examples
bashawksedcut

Remove first column from text file


I have following file with these lines:

"A,B,C,D","E","F","G","H"

How I can easily remove first column in quotas?

Finally I want to see:

"E","F","G","H"

Solution

  • Try this way also

    sed 's/^"[^"]\+",//' FileName.txt
    

    Output:

    "E","F","G","H"