Search Results

Search: Posts Made By: iaav
3,750
Posted By iaav
2,561
Posted By iaav
Get out of only Modified and Added files in svn log
How to get only modified and added files with revision,author and comments from svn log verbose

------------------------------------------------------------------------
r7351 | user01 |...
1,732
Posted By iaav
Store args passed in array but not the first 2 args
Store args passed in array but not the first 2 args.

# bash
declare -a arr=("$@")
s=$(IFS=, eval 'echo "${arr }"')

echo "$s"

output:
sh array.sh 1 2 3 4 5 6
1,2,3,4,5,6


Desired...
2,515
Posted By iaav
Shell script to get one to one map and rename the filename
I have 2 files sorted by numerically. I need help with shell script to read these 2 files and do a 1:1 mapping and rename the filenames with the mapped case#;

For example:

cat case.txt
10_80...
2,664
Posted By iaav
Make directory with todays date format
Not sure why this is not working. Please advice:


#!/bin/sh

DIR=`date +"%m-%d-%y"`
echo $DIR
[[ -d $DIR ]] && mkdir $DIR
3,100
Posted By iaav
Shell script to poll a directory and stop upon an event
Need shell script to:
1/keep polling a directory "receive_dir" irrespective of having files or no files in it.
2/move the files over to another directory "send_dir".
3/the script should only...
3,622
Posted By iaav
Shell script to execute condition until an event occurs
I need a script to keep polling "receive_dir" directory till "stopfile" get written in the directory.

This has to run despite empty directory.

So far i have this but fails if receive_dir is...
1,716
Posted By iaav
Thanks this worked. Also the shift part of...
Thanks this worked.

Also the shift part of the script works okay. takes only the args after URL as tickets
1,716
Posted By iaav
Grep with loop till search is done
I need help to put a script where it runs the svn command grep'ing for the ticket# in the comments to see if the ticket was used in the latest commit.

so on command line:
./test.sh ticket-1...
9,578
Posted By iaav
Thanks Franklin: That worked but with a...
Thanks Franklin:

That worked but with a warning.

awk: cmd. line:1: warning: escape sequence `\/' treated as plain `/'
8,989
Posted By iaav
Thanks Franksunn and balajesuri: I worked on...
Thanks Franksunn and balajesuri:

I worked on it.Got it to work but your script looks better:

while read line
do
case `basename "$line"` in
*.* )
echo $line
echo "$line is ext"...
9,578
Posted By iaav
unix script to get just filename from the comment logs and exclude the branch information
Franklin - your command is right but my apologies i messed up the case right from beginning. Reposting the exact req now.

Need script help to get just the file info from svn logs - (using awk)
...
8,989
Posted By iaav
Not close enough to post here. I just started...
Not close enough to post here. I just started with shell scripting

Thanks !!
8,989
Posted By iaav
I tried doing 'while read" loop but bad errors...
I tried doing 'while read" loop but bad errors and can't get it working.
8,989
Posted By iaav
Shell script to read file and check file type
Hi,

I have a file with few values in it. I need script help to read file line by line and check:

1/if it's a file (with extension eg .java .css .jar etc )
or
2/if it's a file without...
9,578
Posted By iaav
tried this but it's restricted to file path if...
tried this but it's restricted to file path if modified - 'M'. The path can also be 'A' or 'D'
9,578
Posted By iaav
Did this: svn log -v...
Did this:

svn log -v //test/svn/Demo/branches/HelloWorld/Batch --limit 2 | awk '$1~/^[AM]$/{for(i=2;i<=NF;i++)print $i}' | sed 's/\/branches\/HelloWorld\///g'

But do not wish to hard code the...
9,578
Posted By iaav
Franklin52: This works but the meta data...
Franklin52:

This works but the meta data changes on the commit file --> "AMD"

---------- Post updated at 08:35 AM ---------- Previous update was at 08:13 AM ----------



Output from this:...
9,578
Posted By iaav
@RavinderSingh13: The branch information...
@RavinderSingh13:

The branch information changes "branches/HelloWorld"
9,578
Posted By iaav
Franklin - Re posting the svn command output and...
Franklin - Re posting the svn command output and desired output
svn log -v http://10.118.19.200:8080/svn/IL_IES_Demo/branches/HelloWorld/Batch/ --limit 2...
9,578
Posted By iaav
@Franklin52 - This gives the comments too. svn...
@Franklin52 - This gives the comments too.
svn log -v //test/svn/Demo/branches/HelloWorld/Batch --limit 2 | awk -F/ 'NF>1{print $(NF-1) FS $NF}'
Batch/test.java
Testing to lock Demo/HelloWorld...
9,578
Posted By iaav
svn log -v...
svn log -v //test/svn/Demo/branches/HelloWorld/Batch --limit 2 | awk '$1~/^[AMD]$/{for(i=2;i<=NF;i++)print $i}'

/branches/HelloWorld/Batch/test.java
/branches/HelloWorld/Batch/test.java
9,578
Posted By iaav
UNIX command/script svn log to get just the files information
Just need the directory name and files changes information in svn log

This is my svn log verbose:
svn log -v //test/svn/Demo/branches/HelloWorld/Batch --limit 2
...
Showing results 1 to 23 of 23

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