Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Do a echo '$IFS' | cat -vet to see how default value looks like in the shell. Commented Apr 28, 2018 at 9:30
  • 1
    IFS is used by the shell for most purposes (not all), but not by other programs and specifically not by cut which was the question asked. Commented Apr 29, 2018 at 10:08
  • Unlike awk, cut also supports only one delimiter at a time, so cut -d "$IFS" will error, whereas awk -F"[ \t\n]" works as expected Commented Oct 22, 2019 at 1:42