Timeline for Tool for escaping all quotes in a string/file
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 8, 2015 at 1:30 | history | edited | mikeserv | CC BY-SA 3.0 |
edited body
|
| Feb 7, 2015 at 20:52 | comment | added | mikeserv |
@StéphaneChazelas - I thought it was for pasting into a command-line SQL query? But, yes, ksh derivatives do the ANSI quote strings.
|
|
| Feb 7, 2015 at 20:51 | comment | added | Stéphane Chazelas |
See also: a=$'\n' ksh -c 'alias foo="$a"; alias foo', or single quotes, the OP wanted the text escaped for a SQL interpreter, not a shell.
|
|
| Feb 7, 2015 at 20:49 | comment | added | mikeserv |
@StéphaneChazelas - yeah, that's why I used sh at the bottom - it will work even when sh is bash.
|
|
| Feb 7, 2015 at 20:47 | comment | added | Stéphane Chazelas |
bash does not add alias when in POSIX mode (invoked as sh or POSIXLY_CORRECT in the environment or --posix, -o posix...)
|
|
| Feb 7, 2015 at 20:13 | history | edited | mikeserv | CC BY-SA 3.0 |
deleted 18 characters in body
|
| Feb 7, 2015 at 15:54 | history | edited | mikeserv | CC BY-SA 3.0 |
added 102 characters in body
|
| Feb 7, 2015 at 15:16 | history | answered | mikeserv | CC BY-SA 3.0 |