mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
add comment about shell quoting rules to the docs.
2001-08-19 Havoc Pennington <hp@pobox.com> * glib/gshell.c (g_shell_unquote): add comment about shell quoting rules to the docs.
This commit is contained in:
parent
f240813ff6
commit
11f034226f
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib/gshell.c (g_shell_unquote): add comment about shell quoting
|
||||
rules to the docs.
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
|
@ -231,6 +231,13 @@ g_shell_quote (const gchar *unquoted_string)
|
||||
* newlines. The return value must be freed with g_free(). Possible
|
||||
* errors are in the #G_SHELL_ERROR domain.
|
||||
*
|
||||
* Shell quoting rules are a bit strange. Single quotes preserve the
|
||||
* literal string exactly. escape sequences are not allowed; not even
|
||||
* \' - if you want a ' in the quoted text, you have to do something
|
||||
* like 'foo'\''bar'. Double quotes allow $, `, ", \, and newline to
|
||||
* be escaped with backslash. Otherwise double quotes preserve things
|
||||
* literally.
|
||||
*
|
||||
* Return value: an unquoted string
|
||||
**/
|
||||
gchar*
|
||||
|
Loading…
Reference in New Issue
Block a user