Re: [PATCH v7 4/8] regex.3: Improve REG_STARTEND

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* наб <nabijaczleweli@xxxxxxxxxxxxxxxxxx>, 2023-04-21 13:34:
/etc/bash.bashrc: line 7: PS1: unbound variable
How come? bash is not supposed to read bashrc if the shell is non-interactive (unless you instruct it otherwise).
No clue, surprised me as well, esp. since I didn't see any funny bash flags to force interactivity.

I did some googling, which led me to this this:
https://lists.debian.org/Ywohi2WEtK+TtquZ@xxxxxxxxxxxx

I can reproduce the bug in unstable:

   $ (SSH_CLIENT=moo bash -uc true)
   /etc/bash.bashrc: line 7: PS1: unbound variable

What is this I don't even.

--
Jakub Wilk



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux