Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Daniel Colascione Newsgroups: gnu.bash.bug Subject: [FR] save command times and exit status in history automatically Date: Tue, 5 Nov 2019 09:49:50 -0800 Lines: 4 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1572976234 10911 209.51.188.17 (5 Nov 2019 17:50:34 GMT) X-Complaints-To: action@cs.stanford.edu To: "bash.bug list" Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OfCcB6KozrLw7Qz/mM5yhwvS5HRLJxH5FuNDQHn9sek=; b=YlUgw4nsv95Qh0IhlqNpq9tvCMmvnO8Lnpy8Dswl3sDaiGwCl1KozFM7GAXn7cNTRm ld5b8ZxA6NmtKGUGH3nW/Hz58ThtaRpsKwxrWcuCVU8OhlfrY4SaQcoZUbPvvj8JKTM7 0TC2zNc6ngBZqcCaQxHFpKLDSNU8FuFgwGv/3tMkJFvJXRlWq/4+qqOcVERSmvCpBmq1 Hm1qUidi0HSXj4JyK8fQxTy2i0spoZBRQ9Nr+9kjUL9foEIPfBSXktISwC2j4PF7RLzu 9EiASIO87Z/HjkClJOjURxnOx1WTYrrXpLKoss+mJg0bG2XJIYE3T/2QogIy78blj5qu q0Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OfCcB6KozrLw7Qz/mM5yhwvS5HRLJxH5FuNDQHn9sek=; b=luzVPmOlYUUlHHPxqoZkoQiYXJXGpi9XPxgz9eRxNgAkhRhhCRulmwa1n3HAQDLbtk a+K8CFusAMrK2NjOtu+ahgcX2aAc6nm8hKVIjJofrO7rK7HTteSsRZz5Ji+03fOprXZA t3yrqbT8saPQ8aslgEWYLKzN7XMP4BbzaWNNI8/khEbYB7GUjM2iTuohGIIGjw57Rux3 09x9HYxipN96H4GeJRW+WFJjortzD9SwXeu8VDpwUOsh4huK0x/ZWKKqubs95MHuYcIL VSrGlKgFR7hzNMpc+A3C7xv3l6STBGkQa5GQWuI5dW+099JslUbsYO1IRoMyG7s8NpWf WVWQ== X-Gm-Message-State: APjAAAV4DVyCYc5gWQ3DYEIdPfP7qMa1DzDwsjSQVXixLie1k/cSFbLo OeoD9VgJtiGrAfL7qaMfKoM8WLJB/oM6DRqKr1Z6qBR+bhs= X-Google-Smtp-Source: APXvYqyelbBV3q1eUH9VQM2/RZ0cFkqaOdwAk3p39tK3uNXS2ungC2sZEVpvr4Shn9QicRvjqVNFcpjLajSQtqn+H5A= X-Received: by 2002:ac2:561b:: with SMTP id v27mr22127382lfd.186.1572976226803; Tue, 05 Nov 2019 09:50:26 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::12a X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.bash.bug:15568 Right now, bash history saves only the command line actually executed. Why not also, optionally, save command execution times and exit statuses? This information is practically free to collect.