Skip to main content
deleted 10 characters in body
Source Link
nezabudka
  • 2.5k
  • 7
  • 15

Simple optimal text formatter displays in one column with further deletion of leading spaces:

fmt -1 file | column -t

In awk /./NF pattern prevents from possible output of the first empty line:

awk '/./''NF' RS='[[:space:]]+' file

Simple optimal text formatter displays in one column with further deletion of leading spaces:

fmt -1 file | column -t

In awk /./ pattern prevents from possible output of the first empty line:

awk '/./' RS='[[:space:]]+' file

Simple optimal text formatter displays in one column with further deletion of leading spaces:

fmt -1 file | column -t

In awk NF prevents from possible output of the first empty line:

awk 'NF' RS='[[:space:]]+' file
added 176 characters in body
Source Link
nezabudka
  • 2.5k
  • 7
  • 15

Simple optimal text formatter displays in one column with further deletion of leading spaces:

fmt -1 file | column -t

In awk /./ pattern prevents from possible output of the first empty line:

awk '/./' RS='[[:space:]]+' file

Simple optimal text formatter:

fmt -1 file | column -t

Simple optimal text formatter displays in one column with further deletion of leading spaces:

fmt -1 file | column -t

In awk /./ pattern prevents from possible output of the first empty line:

awk '/./' RS='[[:space:]]+' file
Post Undeleted by nezabudka
Post Deleted by nezabudka
Post Undeleted by nezabudka
added 12 characters in body
Source Link
nezabudka
  • 2.5k
  • 7
  • 15

Simple optimal text formatter:

fmt -1 file | column -t

Simple optimal text formatter:

fmt -1 file

Simple optimal text formatter:

fmt -1 file | column -t
Post Deleted by nezabudka
Source Link
nezabudka
  • 2.5k
  • 7
  • 15
Loading