Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: "Christopher Chittleborough" Newsgroups: gnu.bash.bug Subject: [Patch] (tiny problem) bad short_doc for % command Date: Sat, 21 Sep 2019 17:45:35 +1000 Lines: 31 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0892dce745ae47b7bcb6d20ab1ba826f X-Trace: usenet.stanford.edu 1569071355 13467 209.51.188.17 (21 Sep 2019 13:09:15 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cluemail.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=uFWoME8G3PC1B9Fwl5CCiVgsvyK3FxxSxJZtQW37Gsg=; b=E2+k7028 Oi7Fd9XEqJUMmMH1MttmKSe6rL4HaEvwATsn7X3GXzwGeuKd4CyKlGmUnabgBwvo Jugpgsjd8+fX+vGxVmLlb3QqXzsL6kqKvkOCwDeg3PDbN+FJeVd+nifJiipE4bfG h4zMu3DK0z9KVIh/TqMJVrDN8QoEjpZZdIOdbkL2kioM/peIJ8+ALEipfkU4Irp+ mcH2dsevX5SvCWQrBt58pfgkyMNPQHVob3JdtB7rS3FwVUBm9sdEC4qc6KqigpRU agx4vmL8qlTM84NXcQgJ5sL4MpOZtNmxxp4Vz0qfeWEIV9KLY8BwKA6jMT3m/EsE xRFHCiOjaRUlRQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=uFWoME8G3PC1B9Fwl5CCiVgsvyK3F xxSxJZtQW37Gsg=; b=FHIfLrS3LbqEKP6TaX/iJSLSQ3KQY+Gp++weTLuirC8VK PkAwb/rCqONJ69bCp3mRUVAtCsyg0z79CGWpnhzgU4A92OE2d0kk9GlatbUIemm+ L3oyPits9YMSjx8Fq+YPU0dvJLX8N8lGkw9vCx75SBaEOWMwr/DD9UrdxBbZiSTN pbucaaiMCFi8fKYjx3kWSn7JaR+A3zWxDFCi7k+A2gAmO3B9YCLsXD7tE2oHAXsY 31JsoLqav9ZRo85R6b3FL9M6Sfdx7vYAQMgF51f+LfVazE/OsMLKHegxie7S+VXy HDEIDcLTmZQ+cB2EVv8WroGWc8djneVUFwK9oxmJg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdefgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehmtderre erredtnecuhfhrohhmpedfvehhrhhishhtohhphhgvrhcuvehhihhtthhlvggsohhrohhu ghhhfdcuoegttghhihhtthhlvggsohhrohhughhhsegtlhhuvghmrghilhdrtghomheqne cuffhomhgrihhnpehsohhurhgtvgifrghrvgdrohhrghenucfrrghrrghmpehmrghilhhf rhhomheptggthhhithhtlhgvsghorhhouhhghhestghluhgvmhgrihhlrdgtohhmnecuve hluhhsthgvrhfuihiivgeptd X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-238-g170a812-fmstable-20190913v1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 X-Mailman-Approved-At: Sat, 21 Sep 2019 09:09:13 -0400 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:15390 --0892dce745ae47b7bcb6d20ab1ba826f Content-Type: text/plain The command "help -s %" outputs %: job_spec [&] when it should output %: % job_spec [&] because the $SHORT_DOC for "%" in builtins/reserved.def is wrong. The attached patch fixes this. BTW, this is not the smallest bug ever reported: see https://sourceware.org/bugzilla/show_bug.cgi?id=21399 Cheers -- Chris --0892dce745ae47b7bcb6d20ab1ba826f Content-Disposition: attachment;filename="%-shortdoc.patch" Content-Type: text/x-patch; name="%-shortdoc.patch" Content-Transfer-Encoding: BASE64 ZGlmZiAtTmF1ciBiYXNoLTUuMC9idWlsdGlucy9yZXNlcnZlZC5kZWYgYmFzaC01LjAtbm9u aXQvYnVpbHRpbnMvcmVzZXJ2ZWQuZGVmCi0tLSBiYXNoLTUuMC9idWlsdGlucy9yZXNlcnZl ZC5kZWYJMjAxNi0wNS0xMyAwNDowNToxNy4wMDAwMDAwMDAgKzEwMDAKKysrIGJhc2gtNS4w LW5vbml0L2J1aWx0aW5zL3Jlc2VydmVkLmRlZgkyMDE5LTA5LTIxIDE2OjI1OjA1LjQ2NTg5 NjI2OSArMTAwMApAQCAtMTc1LDcgKzE3NSw3IEBACiAKICRCVUlMVElOICUKICRET0NOQU1F IGZnX3BlcmNlbnQKLSRTSE9SVF9ET0Mgam9iX3NwZWMgWyZdCiskU0hPUlRfRE9DICUgam9i X3NwZWMgWyZdCiBSZXN1bWUgam9iIGluIGZvcmVncm91bmQuCiAKIEVxdWl2YWxlbnQgdG8g dGhlIEpPQl9TUEVDIGFyZ3VtZW50IHRvIHRoZSBgZmcnIGNvbW1hbmQuICBSZXN1bWUgYQo= --0892dce745ae47b7bcb6d20ab1ba826f--