Home > OS >  The small white asked a small problem
The small white asked a small problem

Time:10-13

Is below the respectively before and after using quotes and single quotes in encase a string of writing is what purpose...

CodePudding user response:

Single quotation marks to tell you there is the actual input
The double quotation marks is part of the input content

Single and double quotes nested use, is to prevent you confuse what is the input and should not enter

Such as' bash - c "help set" '
Allows you to enter a bash - c "help set"

CodePudding user response:

reference 1st floor stherix response:
single quotes tell you there is the actual input
The double quotation marks is part of the input content

Single and double quotes nested use, is to prevent you confuse what is the input and should not enter

Such as' bash - c "help set" '
Allows you to enter a bash - c "help set"


I want to ask, what is in front of the quotation marks

CodePudding user response:

refer to the second floor Mount_Dew response:
Quote: refer to 1st floor stherix response:

Single quotation marks to tell you there is the actual input
The double quotation marks is part of the input content

Single and double quotes nested use, is to prevent you confuse what is the input and should not enter

Such as' bash - c "help set" '
Allows you to enter a bash - c "help set"


I want to ask, what is in front of the quotation marks objective

The quotes and the final single quotation marks are in pairs
  • Related