diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-12-06 18:46:57 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-12-06 18:46:57 +0100 |
commit | c419594e8aff0fdc17c21e9313169e08f3050a73 (patch) | |
tree | 32504f7c2f5efff1c7f883437fa66282499e17b9 /README | |
parent | c150136f5b772c35a633afadecf6e3e491ff4ae4 (diff) |
support executing commands both through shell and directly
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -291,12 +291,21 @@ The above example demonstrates two things: Command substitution will launch any commands and substitute the call with the return value of the command. +There are two methods: -Uzbl will substitute any commands enclosed within @( )@: + * through a shell: enclose commands with @( )@ (quotes escaping is handled by uzbl): print Command substitution: @(uname -a)@ -You can access any uzbl variable from within a command substitution: +This method allows you to use posix shell syntax in your commands + + * directly: + + print Command substitution: @(+uname -a)@ + +This example will execute uname directly + +Note that you can access any uzbl variable from within a command substitution: print @(echo -n 'Accessing the show_status var from an external script, value: @show_status')@ |