Read a lot of Chinese blog posts, most of the article is about the use of echo color, I really do not love to die, trace back, really look at the escape sequence is what?Escape characters, children who have studied C are aware that some control
0.echo Command entry: (Default bash support, CSH not supported)-N does not output line breaks-E Open backslash ESC escape-e Suppress backslash ESC escape (default)Both 1.echo and printf can print output information, except that Echo adds a newline
PHP character escape Function Summary. sometimes, for the sake of security, we need to escape the character strings entered by the user, which may be incorrect or obscure ~~~
Configurations and functions related to PHP string escaping are as
Output colored text in the shell using the echo commandNameecho-Displays a line of textProfileecho [Options] ... [String] ...DescribeOutputs a string to the standard output.-N does not output line breaks-E Open backslash ESC escape-e Suppress
PHP character escape function summary (the escape string in php ). The article contains incorrect or ambiguous words. please point out ~~~ Configurations and functions related to PHP string escaping are as follows: 1.
Article Which is incorrect or ambiguous ~~~
Configurations and functions related to PhP string escaping are as follows:1. magic_quotes_runtime2. magic_quotes_gpc3. addslashes () and stripslashes ()4. mysql_escape_string ()5. addcslashes () and
Tlcl-view the world echo in shell eyes, tlcl-view echo
View the world in shell eyes
Echo-display a line of text
When you enter a command, bash expands the input characters before executing the command.
Expand path
Echo *
Shell expands * to the
The article has incorrect or the rhetoric is not clear place, the trouble everybody pointed out ~ ~ ~
The configuration and functions associated with the PHP string escape are as follows:
1.magic_quotes_runtime
2.magic_quotes_gpc
3.addslashes ()
In Unix, there is a special type of character called metacharacters. They indicate special meanings in the system. For example, * and? The operating system considers these metacharacters as wildcards. If these metacharacters exist in the path, file
Linux shell Escape Character metacharacter wildcard special character summary, shell escape1. linux shell wildcard (wildcard)
Wildcards are processed by shell (not by the command statements involved, but we have not found any introduction to these
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.