Hi Martijn,
>>> We're at R56 now but nothing seems to have changed here. Status?
>>
>> It’s on the TODO.
>
> Here's another attempt at a patch. Note that this version checks for OFF(i) !=
> OF_CMDLINE to exclude immutable command line-only options (interactive, login,
> restricted, stdin).
I’ve e
Op 27-09-17 om 03:48 schreef Thorsten Glaser:
Martijn Dekker dixit:
I’ll put the issue on my TODO only, for now, but thanks anyway.
We're at R56 now but nothing seems to have changed here. Status?
It’s on the TODO.
Here's another attempt at a patch. Note that this version checks for
OFF(
Martijn Dekker dixit:
>> I’ll put the issue on my TODO only, for now, but thanks anyway.
>
>We're at R56 now but nothing seems to have changed here. Status?
It’s on the TODO.
bye,
//mirabilos
--
11:56⎜«liwakura:#!/bin/mksh» also, i wanted to add mksh to my own distro │
i was disappointed that t
Martijn Dekker dixit:
>Martijn Dekker schreef op 27-02-16 om 04:44:
>> That means it should be possible to do
>>
>> save_options=$(set +o)
No, the rationale says something about dotfiles. so probably:
set +o >tempfile
. ./tempfile
>Hmm. "-o interactive" is killing that wit
Martijn Dekker schreef op 27-02-16 om 04:44:
> That means it should be possible to do
>
> save_options=$(set +o)
>
> then change some options, then later restore the shell options with
>
> eval "$save_options"
Hmm. "-o interactive" is killing that with an "interactive: bad optio
The command 'set -o' shows the current shell options in an unspecified
format. Less well-known is the variant 'set +o', which should output the
current shell options "in a format that is suitable for reinput to the
shell as commands that achieve the same options settings".[*]
That means it should