remove type from dbus-send reply
Ahmad Ismail
ismail783 at gmail.com
Fri Jul 21 09:31:52 UTC 2023
*I have a dbus-send command like:dbus-send --print-reply=literal --session
--dest=org.gnome.Shell /org/gnome/Shell/Extensions/GnomeUtilsWorkspaces
org.gnome.Shell.Extensions.GnomeUtilsWorkspaces.GetCurrentWorkspacewhich
gives output likeint32 4Here I only need "4". I do not need the data type.
I know I can use `cut` or something like that. But I want to know if there
is a native solution to get only value without type.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20230721/bd1dff42/attachment.htm>
More information about the dbus
mailing list