> > > > LANG=C svn info . > > > > (LANG=C svn info . 2> /dev/null || echo Revision: 0) | grep > > Revision | awk > > '{printf $2}' > > > > CU, Ingo > > > > > Okay, it's working now, > I don't know why but LANG=C wasn't affecting the output of svn info, > which > was in Polish in my case, and thus grep was unable to find the string > "Revision" in it. I changed locales and it helped. > tried LC_ALL=C LANG=C svn info ... ? François.