Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11919
| Path | csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Geoffrey Allott <geoffrey@allott.email> |
| Newsgroups | gnu.bash.bug |
| Subject | Newline escape + here document in history |
| Date | Sat, 21 Nov 2015 13:19:00 +0000 |
| Lines | 50 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.383.1448115895.31583.bug-bash@gnu.org> (permalink) |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | usenet.stanford.edu 1448115895 27117 208.118.235.17 (21 Nov 2015 14:24:55 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| X-Mailer | Evolution 3.18.2 |
| X-Provags-ID | V03:K0:APmoa0lB1ya10HQLJxctqX9OT9v0upsHkaPykjL/kbdkptVMagN TjULHpmA1rdAkOFADytk8V/9XgVYw7k4BKWLiQ8X9c+H0cwHmw/ZUYkj6ch4j/JA4EKYgA1 tHjuVtKdWxGQ5V6tnR9tOH8EJTaKPZ/tLqK31qsFvU7GuQDgvXX1V8384Wv+VUI+AwgWY0x P0D9yQ2kL2TQeoLCNUBng== |
| X-UI-Out-Filterresults | notjunk:1;V01:K0:EWA0zVq/s/o=:BeBmI+86yVieDkdBuo4XJi 5eXPSjJpCuryPIJ6I7/15BAE9nM3GgQKIygnX93gwaEH5/y+2OhBv3NDi/BhbLJG3g2UZauaj L9bseXUASdHk+LDrHyN+xh/8vFPLO5QQXc8zCxah1aIynslGaanqyuuxFzeq2BIF8ggWgUgNU MkS3mOZblhBnlugPSokjrknS3trfC8qXMXkZElpfmQ70+msrriz2lGI5AO/OJD+DRBYvHNm9V nKiLObW9CKiOpu6sik+Hmekl6EN1FiOnUt3CH2/YrRcL9/wUXjqb3Vf0A1JY0t4z7QPxG5pV1 5AMtarxlBusfPteVeINfv8pei1MKIVPDpU0q0xSArF3Q45bLjYX1R9Xc2AOkcR6gD/KKdTHaE QPtYCCPcd9nCo1bEMAxYC6K8jlBDIsu+SAd1IAdMi/t71FJzThOctob5fz/o8GPfJwbbWW4SB r1girM25rXuu56Y3oo9/TI2lcRjh0HWA9QNl/vPt/ONuWc/P+TvBCbrpkwMqNN1l1RV8ejF6z 1DnZNjc3fvf92fd006Otx+BBtRB5Ci0ChdiCzJ64/+sTmEO9YK1gZZITrKUFLOgXsBaBASASA 4ZAlhuPHThM/z/heCRPEEa8cHtCEVjz9BLa6Q/Ffy2XXcprQgeiO5+yUG8h3vuMsteuKHLTtn XzI3F/knC67R+DML3xr6yZ9DXyyoUwfUxLmJm7ZgT5ISBbYsSmf1E08WXpPEns6OULOH9Y5Bq gMO4SMPmRc0gW7eo |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 212.227.17.13 |
| X-Mailman-Approved-At | Sat, 21 Nov 2015 09:24:54 -0500 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.14 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:11919 |
Show key headers only | View raw
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc' -DSYS_BASH_LOGOUT='/etc/bash.bash_logout' uname output: Linux GeoffPC 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux Machine Type: x86_64-unknown-linux-gnu Bash Version: 4.3 Patch Level: 42 Release Status: release Description: When using a here document in combination with newline escapes the command is incorrectly recorded in the history Repeat-By: This command works correctly: $ cat << END && cat \ /dev/null hello! END Press "up" and it is replaced by this: $ cat << END && cat /dev/nullhello! END Resulting in this error cat: /dev/nullhello!: No such file or directory Fix: Needs to retain the newline between /dev/null and hello! which is erased for some reason.
Back to gnu.bash.bug | Previous | Next | Find similar
Newline escape + here document in history Geoffrey Allott <geoffrey@allott.email> - 2015-11-21 13:19 +0000
csiph-web