simon-svn: bob: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Wed Sep 24 11:31:20 BST 2014
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 10241
Date: 2014-09-24 11:31:19 +0100 (Wed, 24 Sep 2014)
Log message (10 lines):
Add the 'read' command, to read a file.
This permits build scripts to do more complicated thinking than bob
itself can cope with, and still retrieve the results into a build-
script variable. E.g. you might write
in . do perl -e 'some complicated thinking' > tmpfile
read Myvar tmpfile
and then use $(Myvar) in subsequent bob commands.
Modified files:
U bob/bob.but
U bob/script.py
Links:
http://svn.tartarus.org/sgt/?rev=10241&view=rev
http://svn.tartarus.org/sgt/bob/bob.but?rev=10241&r1=10240&r2=10241
http://svn.tartarus.org/sgt/bob/script.py?rev=10241&r1=10240&r2=10241
More information about the tartarus-commits
mailing list