REORDER-COLUMNS(1)

πŸ“¦
version 24.0.20250523 Β· 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– REORDER-COLUMNS(1) πŸ’–

okay bestie so this one lives in the NCBI Entrez Direct User's Manual and it is genuinely one of the most useful little gremlins in the whole toolbox, no cap ✨


✨ NAME ✨

reorder-columns β€” reorder columns of a tab-delimited file πŸŽ€


🌸 SYNOPSIS 🌸

reorder-columns N ...

πŸ¦‹ DESCRIPTION πŸ¦‹

so reorder-columns is a Unix-style filter, right? it reads tab-delimited data on standard input and prints to standard output a modified version of it πŸ’…

and the way it works is: all the rows stay in their original order (periodt, we do not shuffle), but the columns get reordered β€” and honestly it can also remove columns or repeat them, which is highkey iconic of it 🌈


πŸ’œ OPTIONS πŸ’œ

  • N β€” use input column N next on each line πŸ“

⭐ SEE ALSO ⭐


this page is brought to you by NCBI πŸ’–, dated 2025-05-26 β€” yeah that's the source and the date bestie, mwah, go reorder some columns 🫢✨

πŸ“¦ where this page comes from