Timeline for loading a file into an array, processing the second file using the data in the aray
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 26, 2022 at 13:29 | comment | added | Dennis Williamson | @WalterA: True, but I meant when passing it as an argument following the command. | |
| Jun 11, 2021 at 18:16 | comment | added | Walter A | @DennisWilliamson desc="code-desc.txt"; awk -v desc="$desc" 'FILENAME==desc {..}' "$desc" is a solution for a run time filename. | |
| Jun 27, 2019 at 18:05 | comment | added | Dennis Williamson | If you don't know the filename until run time, the idiom is FNR == NR (unless you know of another way). | |
| Sep 12, 2016 at 14:55 | history | answered | Archemar | CC BY-SA 3.0 |