On Sun, Dec 18, 2022 at 06:35:45AM +, Harald van Dijk wrote:
> The assumption here, that if (interactive), input is coming from
> stdin, does not hold when running bash -ic.
>
> Repeat-By:
> bash -ic 'set -o emacs'
Wow, this is a very old bug. I think this 2.04 bug report fr
It's often useful to fsync an individual file from a shell script, for
example after writing a log entry which needs to be safely persisted. Doing
so with a loadable builtin is much less expensive than spawning an external
command just to call fsync(2).
The sync command in GNU coreutils can be run
On Dez 17 2022, ks1322 ks1322 wrote:
> When for loop output is piped to less and Ctrl+C is pressed, bash creates
> unexpected stopped job
That's because the process group receives SIGTTIN because less tries to
read from the terminal while it doesn't own it.
--
Andreas Schwab, sch...@linux-m68k.