[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash: Fehler auch über Pipes hinweg abfangen



On 21.11.05 14:53:45, Sebastian Kayser wrote:
> * Frank Küster <frank@debian.org> wrote:
> > ,---- set -e
> > | Exit immediately if a simple command (see SHELL GRAMMAR above) exits
> > | with a non-zero status.  The shell does not exit if the command that
> > | fails is part of an until or while loop, part of an if statement, part
> > | of a && or || list, or if the command's return value is being inverted
> > | via !.  A trap on ERR, if set, is executed before the shell exits.
> > `----
> 
> P.S.: Hat jemand ein mutt-Macro für einen schönen "Inline-Kasten"
> ähnlich dem, in den Frank das "set -e" gesetzt hast?!

Das hat nichts mit mutt zu tun sondern wird vom Editor erzeugt, fuer vim
gibts dazu "boxquote.vim". Aber ich glaube nicht als Debian-Paket, musst
mal nach boxquote googlen. Die .vim-Datei einfach unter
$HOME/.vim/plugin ablegen und mittel Bq oder Bqf nutzen.

Andreas

-- 
You definitely intend to start living sometime soon.



Reply to: