[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--csv option? How to use it?
From: |
kutu zchio |
Subject: |
--csv option? How to use it? |
Date: |
Thu, 22 Aug 2024 14:13:17 +0000 (UTC) |
Hello!
Configuration Information [Automatically generated, do not change]:Machine:
x86_64OS: linux-gnuCompiler: gccCompilation CFLAGS: -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-ffile-prefix-map=/build/gawk-Le8UNP/gawk-5.2.1=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/build/gawk-Le8UNP/gawk-5.2.1=/usr/src/gawk-1:5.2.1-2build3
-DNDEBUGuname output: Linux minghhyu-VirtualBox 6.8.0-40-generic #40-Ubuntu SMP
PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 x86_64 x86_64
GNU/LinuxMachine Type: x86_64-pc-linux-gnu
Gawk Version: 5.2.1
Attestation 1: I have read
https://www.gnu.org/software/gawk/manual/html_node/Bugs.html. Yes. Also read
The GNU Awk User’s Guide About the --csv option.
Attestation 2: I have not modified the sources before building gawk.ds True
Have not modified source code at all.
Description: I tried to run "gawk --csv '{ print }' a_csv.csv" and always
gawk help comes up. How can I use --csv option?
Repeat-By: [Describe the sequence of events that causes the problem to occur.]
Fix: Sorry to bother, I don't see --csv usage samples on internet. This --csv
options is useful but I don't know how to use it? Must be b/c I missed
something.
Below from GNU Awk User's Guide:
- -k
- --csv
- Enable special processing for files with comma separated values (CSV).
See Working With Comma Separated Value Files. This option cannot be used with
--posix. Attempting to do causes a fatal error.
Thank you so much for your review!
Hsiwei Yu571.205.1219
- --csv option? How to use it?,
kutu zchio <=