Kurtis Rader

Results 560 comments of Kurtis Rader

@muesli, FWIW, this impacts the `help` command I'm implementing for the Elvish shell. There are a few commands with explicitly multiline usage text. For example: https://elv.sh/ref/builtin.html#str-cmp. That is rendered thusly...

That a leading zero introduces an octal value is for consistency with backlash escape sequences in [double-quoted strings](https://elv.sh/ref/language.html#double-quoted-string), the Go language, and historical practice in many other languages. I wrote...

> The motivations you cited are valid ones, but it is mostly an implementation artifact, since Go's number-parsing functions such as strconv.ParseInt recognizes a leading 0 as a marker for...

FYI: I was just reviewing old issues I had commented on and noticed this one. If we're going to disallow a bare `0` prefix, as opposed to `0o`, to indicate...

Ping, @xiaq? Do we really want to disallow a bare `0` prefix as opposed to requiring `0o` to introduce an octal literal? Given the behavior of the Go stdlib requring...

I have never liked the "prepend a space to a command" idiom used by legacy POSIX shells to keep the command from being persisted to the command history. It is...

> There should be a [variable](https://elv.sh/ref/builtin.html#variables) that shows if incognito mode is active, it'd be very useful for prompts to display mode. Not only that but we now have several...

I also tested the Korn shell (the */bin/ksh* provided by macOS) and it does not support the space prefix behavior AFAICT. Which surprised me since I thought it did support...

After sleeping on this issue I wonder if we really need an incognito mode or the current, undocumented, leading space behavior. Now that the XDG vars are honored, including on...

With respect to @jtmoulia's comment I'll point out that `fish` has a `man` function that prefaces the directory containing the man pages for its builtins to the `$MANPATH` env var...