Tuesday 1 October 2019

linux - Why do I use double quotes in shell scripts

I understand the usage single quote and double quote.



but I don't know situation need to double quotes in the script.



there is no diff that statements



$ echo hello world! $1
$ echo "hello world! $1"



please show me diff between normal and double quotes.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...