Search Results

Search: Posts Made By: kminkeller
3,272
Posted By kminkeller
I used this and got it to work. echo test=A...
I used this and got it to work.
echo test=A /content/qa/lesson1/index.html A /content/qa/lesson2/index.html A /content/qa/lesson3/index.html | \
sed 's/A/~A/g' | tr '~' '\n' | grep "^A" | cut -d" "...
3,272
Posted By kminkeller
Sorry, yes I write the output to a text file...
Sorry, yes I write the output to a text file $ACTION_LOG and i do
tail -f when I actually check in files through my IDE to see if anything is coming out.

Thanks.
3,272
Posted By kminkeller
yes it didnt work either. I get resonse printed...
yes it didnt work either. I get resonse printed on the log file for the previous command
changes=`/usr/bin/svnlook changed $REPOS -r $REV | grep "^A.*index.html$"`
echo '>>>'$changes >> $ACTION_LOG...
3,272
Posted By kminkeller
thanks joeyg. yes that works. but when i...
thanks joeyg.

yes that works. but when i added that grep part on my hookscript, i am getting nothing. just the echo works fine as you said.

here is a part of my hook script.
...
3,272
Posted By kminkeller
i am using bash. Thanks.
i am using bash.

Thanks.
3,272
Posted By kminkeller
Thanks joeyg Sorry if I am not understanding...
Thanks joeyg

Sorry if I am not understanding something but i am getting invalid range error:

$ echo test=A /content/qa/lesson1/index.html A /content/qa/lesson2/index.html | gawk '{print...
3,272
Posted By kminkeller
yes all the time i am looking into the third...
yes all the time i am looking into the third field. yes my output is usually like this
test=A /content/qa/lesson1/index.html A /content/qa/lesson2/index.html

I am checking the svn repository if...
3,272
Posted By kminkeller
thanks for you response jowyg. sorry my...
thanks for you response jowyg.

sorry my question is pretty not clear. let me know if you have any question.

I would like to have the output in an array coz i need to do more things with those...
3,272
Posted By kminkeller
Help with extracting text from a string
I dont know if I am making any sense here. But I need to do something like this.

I have a variable that contains result from the svnlook command on a post-commit hook script.
...
4,493
Posted By kminkeller
Thanks all the guys and thanks to Fubaya. That...
Thanks all the guys and thanks to Fubaya. That worked for me. simple and short. i will try others as well.
4,493
Posted By kminkeller
Thanks kcoder24 for your quick response. yes...
Thanks kcoder24 for your quick response.

yes i need to check the first letter to be "A" and the last word to be index.html.

Thanks.
4,493
Posted By kminkeller
grep and regular expression
Hi,

I am executing a svnlook command to check to see if the following line exists. I need a regular expression to represent the line.

A /test/test1/qa/test2/index.html
A...
1,978
Posted By kminkeller
if statement not working as desired
Hello all,

I am trying to write a post-commit hook script using bash script. What I am trying to do here is:

Developers check in their files to a branch. I check the repository and based on the...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 12:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy