Follow

@jonn I guess there should be a space between 9 and m right?

@petrisch I prefer such parsing style. Imagine writing `rsync -P -a -v -e ...` versus `rsync -Pave ...`.

@petrisch it is! And 9 is the argument to verbose key. Some old-school #UNIX tools would not tokenise their parses and just go left to right.

One can easily imagine a parser that doesn't tokenise!

Combinatorially:

```
(string "-V" <> many (string " ") <> number <> many (string " ")) *> filename
```

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml