help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Question that baffles AI (all of them)


From: Greg Wooledge
Subject: Re: Fwd: Question that baffles AI (all of them)
Date: Sat, 15 Jun 2024 21:04:49 -0400

On Sun, Jun 16, 2024 at 02:15:25AM +0200, alex xmb sw ratchev wrote:
> bash dat.sh.2 1 2 "3 , a, b" 4 5
> 1
> 2
> 3, a, b
> 4
> 5
> 
> 
> maybe u actually ask to not printf but actually act on those values ..

I'm fairly certain they're trying to parse a CSV or pseudo-CSV data
file.  They have comma-separated fields, but they also have (single-)quoted
fields that contains commas inside them.  So they need a parser that
treats '1,2' as a single field because of the single quotes.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]