On Sun, Oct 17, 2010 at 2:59 PM, Vincent Torri <vto...@univ-evry.fr> wrote: > > Hey, > > instead of: > > (svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : > '{printf("%s\n", $1);}' | tr -d ' :MSP\n' > > why not using: > > svn info |grep Revision | sed 's/Revision: //g'
Beware of your environment variables. Depending of your language, for instance, the tag Revision will be translated. If your going to use this, you'd better prefix it: LC_ALL=POSIX svn info |grep Revision | sed 's/Revision: //g' -- Jérôme Pinot http://ngc891.blogdns.net/ ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel