Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: alternation option end of string



On Sun, May 3, 2026 at 5:01 PM Mark J. Reed <markjreed@xxxxxxxxx> wrote:
>
> But if you're reading comma-separated fields, you can just use `read`:

My understanding is that these examples do not match the spec Ray desires:

>    INPUT: file,8a
>     base: file
>      idx: 8a
>  comment:

Should be
  idx:
  comment: 8a

>    INPUT: file,a8
>     base: file
>      idx: a8
>  comment:

  idx:
  comment: a8

>    INPUT: file,a8,comment
>     base: file
>      idx: a8
>  comment: comment

  idx:
  comment: a8,comment

>    INPUT: file,8a,comment
>     base: file
>      idx: 8a
>  comment: comment

  idx:
  comment: a8,comment

>    INPUT: file,8a,com,ment
>     base: file
>      idx: 8a
>  comment: com,ment

  idx:
  comment: 8a,com,ment




Messages sorted by: Reverse Date, Date, Thread, Author