remove type from dbus-send reply
Ahmad Ismail <[email protected]> Fri, 21 Jul 2023 15:31:52 +0600
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CAHAhJw+8X3ySrDZoFztbcFSp8BB0Jc2n+K247egQJaoG5T1Mig@mail.gmail.com> |
*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.*