Re: bash conditional expressions

2021-11-15 Thread Chet Ramey
On 11/12/21 12:16 PM, Lawrence Velázquez wrote: As I understand it, -N stands for NEW and therefore should return a true when either a 'touch -a test' or a 'touch -am test' is given. FWIW, there's some disagreement on this. Not very much. % cat foo_test test -N foo echo "$?"

Re: bash conditional expressions

2021-11-15 Thread Chet Ramey
On 11/12/21 4:36 AM, Mischa Baars wrote: Could you please restore the Fedora 32 behaviour? Someone must have read the bash manual a little too precise, because now the statement only returns true when a 'touch -a test' is given and not when a 'touch -am test' is given. As I understand it, -N st

Re: Document -x and -vx give the same results

2021-11-15 Thread Chet Ramey
On 11/14/21 11:40 AM, 積丹尼 Dan Jacobson wrote: Man page says: -vPrint shell input lines as they are read. -xPrint commands and their arguments as they are executed. Perhaps mention that -x and -vx give the same results, often or always. They don't. -- ``The lyf s

Re: bash conditional expressions

2021-11-15 Thread Ilkka Virta
On Mon, Nov 15, 2021 at 5:21 AM Greg Wooledge wrote: >relatime > Update inode access times relative to modify or change > time. > Access time is only updated if the previous access time was > ear‐ > lier than the current modify or change t

Re: bash conditional expressions

2021-11-15 Thread Andreas Schwab
On Nov 14 2021, Greg Wooledge wrote: > The significance of "setting the atime" will depend on the mount options > of the file system in question. On Debian 11, a file system of type ext4 > which is mounted with "defaults" (as specified in fstab) includes the > "relatime" option. Which is documen

Re: cmd completion.. normal that it doesnt complete dirs when cmds are available ?

2021-11-15 Thread Alex fxmbsw7 Ratchev
On Mon, Nov 15, 2021, 03:29 Dale R. Worley wrote: > Alex fxmbsw7 Ratchev writes: > > i have a dir with some xbl*/ dirs and few xbl* commands ( via $PATH ) > > i tried there xbl,tabtab but it only completed cmds > > is this desired ? > > Naively, I would expect that when doing completion in the f