Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15526 > unrolled thread

behaviour of bash with "--login" + "--rcfile" depends on position of argument

Started by"Göbbert, Jens Henrik" <j.goebbert@fz-juelich.de>
First post2019-10-21 09:19 +0000
Last post2019-10-21 09:19 +0000
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  behaviour of bash with "--login" + "--rcfile" depends on position of argument "Göbbert, Jens Henrik" <j.goebbert@fz-juelich.de> - 2019-10-21 09:19 +0000

#15526 — behaviour of bash with "--login" + "--rcfile" depends on position of argument

From"Göbbert, Jens Henrik" <j.goebbert@fz-juelich.de>
Date2019-10-21 09:19 +0000
Subjectbehaviour of bash with "--login" + "--rcfile" depends on position of argument
Message-ID<mailman.1373.1571661161.9715.bug-bash@gnu.org>
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-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic
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 help/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 this 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
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web