0

Can coreutils' pr do what util-linux's column can do:

The column utility formats its input into multiple columns. The util support three modes:

  • columns are filled before rows This is the default mode (required by backward compatibility).

  • rows are filled before columns This mode is enabled by option -x, --fillrows

  • table Determine the number of columns the input contains and create a table. This mode is enabled by option -t, --table and columns formatting is possible to modify by --table-* options. Use this mode if not sure.

Is it correct that pr -t can do the same thing as column -t in the last mode?

Can pr do the same thing as the first two modes of column?

Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.