help-bash
[Top][All Lists]
Advanced

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

~ and $HOME expansion in { .. , .. } lists


From: microsuxxor
Subject: ~ and $HOME expansion in { .. , .. } lists
Date: Mon, 9 Dec 2024 14:10:47 +0100

~ $ echo {~,}FOO
~FOO FOO

~ $ echo {,$HOME}FOO
FOO
~ $ shopt -u nullglob
~ $ echo {,$HOME}FOO
FOO
~ $ h=$HOME
~ $ echo {,$h}FOO
FOO

.. i didnt remember it so non functional

my tries are part of making files lists
one no prefix one with ~ ( home dir )

.. how to make it work
and whats it about none of these worked

greets ..


reply via email to

[Prev in Thread] Current Thread [Next in Thread]