Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #9826

Re: Bubblesort/Quicksort in AWK

From Ed Morton <mortonspam@gmail.com>
Newsgroups comp.lang.awk
Subject Re: Bubblesort/Quicksort in AWK
Date 2024-08-26 06:28 -0500
Organization A noiseless patient Spider
Message-ID <vahot6$2eavu$2@dont-email.me> (permalink)
References <vaamej$10uav$1@dont-email.me>

Show all headers | View raw


On 8/23/2024 2:03 PM, Mike Sanders wrote:
<snip>
> # awk -f sort.awk -v COLUMN=2 -v ORDER=0 < old.csv > new.csv

Don't use all upper-case variable names so they can't clash with builtin 
variables now or in future and so it doesn't look like you're using 
builtin variables and so obfuscate your code.

     Ed.

Back to comp.lang.awk | Previous | NextPrevious in thread | Find similar


Thread

Bubblesort/Quicksort in AWK porkchop@invalid.foo (Mike Sanders) - 2024-08-23 19:03 +0000
  Re: Bubblesort/Quicksort in AWK Ed Morton <mortonspam@gmail.com> - 2024-08-26 06:28 -0500

csiph-web