Try to create a file named NUL.txt on Windows XP, and you probably get an error message.
Many characters are not allowed for file names on Windows. This includes
< > : " / \ | ? *
Besides, many reserved device names should be avoided. This includes
NUL, CON, PRN, AUX, COM1, COM2, ..., LPT1, LPT2, ...
Also, using the device names unintended might raise security vulnerability.
Showing posts with label tips. Show all posts
Showing posts with label tips. Show all posts
Wednesday, December 17, 2008
Sunday, November 23, 2008
Quotes
QuotedQuotes are widely used in scripting languages, including (but not limited to) Bash, SQL, Python, Tcl, Perl, PHP, JavaScript. However, there is no universal rule for quotes. Most languages support single quote (') or double quote ("), while others have their own quotes like triple quote (''' or """), or braces ({, }). When one should code in a combination of different languages, the quotes would definitely confues programmers, not mentioning variable substitution, regular expression, etc.
Subscribe to:
Posts (Atom)