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 revision Previous revision
apply_unix_commands_to_all_but_the_first_line [2022/08/12 16:44]
raju [How I came across it]
apply_unix_commands_to_all_but_the_first_line [2022/08/12 17:29] (current)
raju [Situation]
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.txt ยท Last modified: 2022/08/12 17:29 by raju