1
vote
1answer
504 views

How can I test whether the output from a command is null or empty string? [closed]

I'm trying to get a pre-commit hook script to work on our old SVN box. It's very old, running Ubuntu Server 8.04. This script: @echo off :: :: Stops commits that have empty log messages. ...
4
votes
2answers
895 views

How to output file & ignoring lines that start with “?”?

I do svn status --show-updates and then I want to either Q1: ignore (not to display) lines that start with ? Q2: display only lines that start with * Note that there are few spaces before * occurs. ...
3
votes
3answers
387 views

How to make svn look for if there is an update once a minute and if there is call some script?

I am developing a server app. I have a remote machine with Debian that I use for testing. Currently I update the server manually when each new svn version comes out. It is just a testing server and ...
3
votes
4answers
555 views

shell scripts that respond to console output

Disclaimer:: I am not an active shell scripter How does one create a script that responds to console output? For instance, I'm trying to setup a cron that periodically svnsync 's changes to my ...