help-bash
[Top][All Lists]
Advanced

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

Re: quotes around a variable


From: Andreas Kusalananda Kähäri
Subject: Re: quotes around a variable
Date: Sat, 16 Apr 2022 17:57:21 +0200

On Sat, Apr 16, 2022 at 07:29:01PM +0800, wilson wrote:
> when doing bash script, I am somewhat confused that, when I should use
> Double quotes around the variable, when I should use single quotes around
> the variable, and when I don't need the quotes. can you help give a guide?
> 
> Thank you.

Most likely the same or similar information that others have already
provided, but at the Unix & Linux Stackexchange site:

https://unix.stackexchange.com/questions/68694/when-is-double-quoting-necessary


-- 
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden

.



reply via email to

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