User Tools

Site Tools


apply_unix_commands_to_all_but_the_first_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
apply_unix_commands_to_all_but_the_first_line [2022/08/12 16:44] – [How I came across it] rajuapply_unix_commands_to_all_but_the_first_line [2022/08/12 17:29] (current) – [Situation] raju
Line 1: Line 1:
 ===== Apply unix commands to all but the first line ===== ===== Apply unix commands to all but the first line =====
 ==== Situation ==== ==== Situation ====
-Let's say we want to sort a series of numbers in descending order but keep the header at the top. For example, given+Let's say we want to sort a series of numbers in ascending order but keep the header at the top. For example, given
 <code> <code>
 % echo -e "value\n8\n2\n6\n3" % echo -e "value\n8\n2\n6\n3"
apply_unix_commands_to_all_but_the_first_line.1660322676.txt.gz · Last modified: 2022/08/12 16:44 by raju