Revision [1450]

Last edited on 2010-06-03 11:21:03 by DavidLee
Additions:
width=$(eval 'identify -format \"%[fx:w]\" dir1/picture.jpg')
Deletions:
width=$(eval identify -format \"%[fx:w]\" dir1/picture.jpg)


Revision [1362]

Edited on 2010-05-09 02:01:07 by DavePawson [Added example of storing the result in a variable]
Additions:
Example storing the result in a variable
width=$(eval identify -format \"%[fx:w]\" dir1/picture.jpg)
$ echo ${width}
"592"


Revision [994]

Edited on 2009-11-25 09:56:41 by DavidLee [Added example of storing the result in a variable]
Additions:
======Command eval======
====Name====
**eval** Evaluates its arguments as a command and executes it
====Synopsis====
**eval** [cmd]
====Examples====
A="echo foo"
eval $A
Result
[[Commands]]
[[CategoryCommands]]
Deletions:
======eval [cmd]======
$ A="echo foo"
$ eval $A
[[Modules]]


Revision [759]

Edited on 2009-09-16 07:54:11 by DavidLee [Added example of storing the result in a variable]
Deletions:
[[CommandsBuiltin]]


Revision [340]

The oldest known version of this page was created on 2009-01-03 06:44:23 by DavidLee [Added example of storing the result in a variable]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki