git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Support for "set -e" in cogito script, and assertion in rewritehist

From
Yann Dirson <ydirson@altern.org>
Date
May 9, 2006, 22:27 UTC
Message-ID
<20060509222738.20814.57282.stgit@gandelf.nowhere.earth>

The first patch is an updated version of the one posted on Apr 17th, which makes cg-Xlib compatible with "set -e" for safer scripts, and converts cg-admin-rewritehist to "set -e" mode. The second ones makes the latter robust on one backquoted command, for which "set -e" is not sufficient. Let the devil bring shell programming into hell, asap.

-- 
Yann Dirson    <ydirson@altern.org> |
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>
Next: Yann Dirson
Message 1 of 3 in “Support for "set -e" in cogito script, and assertion in rewritehist”
  1. 0/2 Support for "set -e" in cogito script, and assertion in rewritehistYann Dirson, May 9, 2006
  2. 1/2 Suppress use of unsafe idiomatic use of && in cg-XlibYann Dirson, May 9, 2006
  3. 2/2 Catch history inconsistency in cg-admin-rewritehist.Yann Dirson, May 9, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.