mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
Renamed to rstrip to allow for future lstrip or even strip (rstrip+lstrip) command
This commit is contained in:
parent
b8d3515f19
commit
8dc04f3902
@ -3873,11 +3873,11 @@
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<command>
|
<command>
|
||||||
<option>strip</option>
|
<option>rstrip</option>
|
||||||
</command>
|
</command>
|
||||||
<option>text</option>
|
<option>text</option>
|
||||||
</term>
|
</term>
|
||||||
<listitem>Strips all whitespace from ends of input.
|
<listitem>Strips all trailing whitespace from input.
|
||||||
<para /></listitem>
|
<para /></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -895,7 +895,7 @@ struct text_object *construct_text_object(char *s, const char *arg, long line,
|
|||||||
END OBJ(uppercase, 0) obj->data.s = STRNDUP_ARG;
|
END OBJ(uppercase, 0) obj->data.s = STRNDUP_ARG;
|
||||||
obj->callbacks.print = &print_uppercase;
|
obj->callbacks.print = &print_uppercase;
|
||||||
obj->callbacks.free = &gen_free_opaque;
|
obj->callbacks.free = &gen_free_opaque;
|
||||||
END OBJ(strip, 0) obj->data.s = STRNDUP_ARG;
|
END OBJ(rstrip, 0) obj->data.s = STRNDUP_ARG;
|
||||||
obj->callbacks.print = &strip_trailing_whitespace;
|
obj->callbacks.print = &strip_trailing_whitespace;
|
||||||
obj->callbacks.free = &gen_free_opaque;
|
obj->callbacks.free = &gen_free_opaque;
|
||||||
END OBJ(catp, 0) obj->data.s = STRNDUP_ARG;
|
END OBJ(catp, 0) obj->data.s = STRNDUP_ARG;
|
||||||
|
Loading…
Reference in New Issue
Block a user