Skip to main content
added 79 characters in body
Source Link
ddeimeke
  • 4.7k
  • 1
  • 21
  • 18

The quotes are part of the string you created.

If you did

variable=one|name
echo $variable

the result would be as expected. But you are only able to do this in a script (thanks for the helpful comment).

The quotes are part of the string you created.

If you did

variable=one|name
echo $variable

the result would be as expected.

The quotes are part of the string you created.

If you did

variable=one|name
echo $variable

the result would be as expected. But you are only able to do this in a script (thanks for the helpful comment).

Source Link
ddeimeke
  • 4.7k
  • 1
  • 21
  • 18

The quotes are part of the string you created.

If you did

variable=one|name
echo $variable

the result would be as expected.