help-bash
[Top][All Lists]
Advanced

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

Why is -- in the output of declare -p x?


From: Peng Yu
Subject: Why is -- in the output of declare -p x?
Date: Tue, 24 Jan 2023 16:21:51 -0600

Hi,

I see -- in the output of declare -p x. Why is it necessary to keep it
there? Is it better to remove it for brevity? Thanks.

$ x=10
$ declare -p x
declare -- x="10"

-- 
Regards,
Peng



reply via email to

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