Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: =?iso-8859-1?Q?=22G=F6bbert=2C_Jens_Henrik=22?= Newsgroups: gnu.bash.bug Subject: behaviour of bash with "--login" + "--rcfile" depends on position of argument Date: Mon, 21 Oct 2019 09:19:48 +0000 Lines: 47 Approved: bug-bash@gnu.org Message-ID: References: <1DB406F67241344CB6F3A199E54EF09D25BC525F@MBX2010-K01.ad.fz-juelich.de> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1571661161 23681 209.51.188.17 (21 Oct 2019 12:32:41 GMT) X-Complaints-To: action@cs.stanford.edu To: "bug-bash@gnu.org" Envelope-to: bug-bash@gnu.org Authentication-Results: mailgw-e01.its.kfa-juelich.de (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=fz-juelich.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fz-juelich.de; h= mime-version:content-type:content-type:content-language :accept-language:message-id:date:date:subject:subject:from:from :received:received:received; s=main; t=1571649589; bh=GBe+5GG4XC Hxpz5/olO2SQo9S4fWaCBFrC4El7Aqr/A=; b=zODDnxxAf2qr08KcM/fAsxaTsn cdod+Fb0cB3bF27So+FoPNXOolc5cLEJ81ZL7oP+OvtmielXTK2R4jYPMT0cZKQ0 fclxrVTD/qxN7vngTNfJ3C8Yt3UKeH+8Lwr5IUITt8JTvIKTr4LQF1vn/h2aCJ9p pek/cK5n6ig9ev8x0= X-Virus-Scanned: Debian amavisd-new at mailgw-e01.its.kfa-juelich.de Thread-Topic: behaviour of bash with "--login" + "--rcfile" depends on position of argument Thread-Index: AdWH8K9sMyD3HHd3R+yFXgN9hrmc0A== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [134.94.171.105] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 134.94.4.38 X-Mailman-Approved-At: Mon, 21 Oct 2019 08:32:40 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: <1DB406F67241344CB6F3A199E54EF09D25BC525F@MBX2010-K01.ad.fz-juelich.de> Xref: csiph.com gnu.bash.bug:15526 Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM=3D'bash' -DCONF_HOSTTYPE=3D'x86_64' -DCONF_O= STYPE=3D'linux-gnu' -DCONF_MACHTYPE=3D'x86_64-redhat-linux-gnu' -DCONF_VEND= OR=3D'redhat' -DLOCALEDIR=3D'/usr/share/locale' -DPACKAGE=3D'bash' -DSHELL = -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -g -pipe -Wall -Wp,-D_= FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buff= er-size=3D4 -grecord-gcc-switches -m64 -mtune=3Dgeneric uname output: Linux jrc1383 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17= :46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-redhat-linux-gnu Bash Version: 4.2 Patch Level: 46 Release Status: release Description: "bash --rcfile --login test.sh" will run test.sh but "bash --login = --rcfile test.sh" will not, even though this would be expected from the hel= p/man pages. Repeat-By: "bash --rcfile --login test.sh" will run test.sh "bash --login --rcfile test.sh" will not run test.sh, even though t= his would be expected. ---------------------------------------------------------------------------= --------------------- ---------------------------------------------------------------------------= --------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ---------------------------------------------------------------------------= --------------------- ---------------------------------------------------------------------------= ---------------------