Harald Hanche-Olsen
Harald Hanche-Olsen
I just noticed another not-special case of the “_” variable, not discussed above: The new(ish) `var` declaration lets you create one. This should not come as a surprise, since `var`...
If this is not implemented, I think at least I'd prefer a replacement for likely the most common occurrence: `[count:1-]` meaning “at least one”. So `*[set:ab][nonempty]` could match one or...
Here's another issue. How do you write a wildcard pattern that will match filenames containing at least one digit? At present, I don't think you can. But, assuming that a...
Oh sorry, it seems I am being stupid. Hopefully it is temporary. Perhaps due to the discussion of regexps, I conflated the use of `?` in wildcards with that in...
Regardless, a good first step might be to implement the *parsing* of the simplest “CSI u“ sequences. That is, CSI ⟨*codepoint*⟩ `;` ⟨*modifiers*⟩ `u` These can be parsed unconditionally, without...
If this were a shell builtin, I would expect the modified file to inherit all the metadata of the original: Owner, group, filemode, ACLs, extended attributes …, you name it....
@dumblob How is that different from redirection using `>`?
The `has-env` command does exist, and mitigitates this issue a bit, just as `has-external` does for the `e:` name space. Also as for the immediately preceding comment, `search-external` already does...
@xiaq (minor nit) When you write “rectify” above, did you mean “reify”?
My primary use case, for now, is to help build a namespace to feed to `eval`. I'd like to write this (simplified – code for `&on-end` condition omitted): ``` fn...