Sponsored Content
Top Forums Shell Programming and Scripting How to find particular string in multiple files Post 302457605 by durden_tyler on Tuesday 28th of September 2010 11:11:18 AM
Old 09-28-2010
Quote:
Originally Posted by sivaranga001
...it was showing like below.
./.subversion/servers
so how can i go to that path.
...
Do you mean how you can change to that directory ? You use the cd command.

Code:
cd ./.subversion/servers

tyler_durden
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find and replace a string in multiple files

I used the following script cd pathname for y in `ls *`; do sed "s/ABCD/DCBA/g" $y > temp; mv temp $y; done and it worked fine for finding and replacing strings with names etc. in all files of the given path. I'm trying to replace a string which consists of path (location of file) ... (2 Replies)
Discussion started by: pharos467
2 Replies

2. Shell Programming and Scripting

shell script to find and replace string in multiple files

I used the following script cd pathname for y in `ls *`; do sed "s/ABCD/DCBA/g" $y > temp; mv temp $y; done and it worked fine for finding and replacing strings with names etc. in all files of the given path. I'm trying to replace a string which consists of path (location of file) ... (11 Replies)
Discussion started by: pharos467
11 Replies

3. Shell Programming and Scripting

Multiple search string in multiple files using awk

Hi, filenames: contains name of list of files to search in. placelist contains the names of places to be searched in all files in "filenames" for i in $(<filenames) do egrep -f placelist $i if ] then echo $i fi done >> outputfile Output i am getting: (0 Replies)
Discussion started by: pinnacle
0 Replies

4. Shell Programming and Scripting

Find & Replace string in multiple files & folders using perl

find . -type f -name "*.sql" -print|xargs perl -i -pe 's/pattern/replaced/g' this is simple logic to find and replace in multiple files & folders Hope this helps. Thanks Zaheer (0 Replies)
Discussion started by: Zaheer.mic
0 Replies

5. Shell Programming and Scripting

find string from multiple dir and redirect to new files

Hi, I am new to script and I want find one string from multiple files in diff directories and put that out put to new file. Like I have A,B & C directories and each has multiple files but one file is unic in all the directories like COMM.txt Now I want write script to find the string... (8 Replies)
Discussion started by: Mahessh123
8 Replies

6. Shell Programming and Scripting

How to find particular string in multiple files with in the current directory.

Hello friends, Plz suggest the find command, How to search a string in a paticular string in miltiple files with current dirctory.:) Thanks in advance. Siva Ranganath Ch (2 Replies)
Discussion started by: sivaranga001
2 Replies

7. Shell Programming and Scripting

trying to find match from multiple string if statement

I'm trying to create what (should be) a simple bash script that will pull computer name and use that info to bind to one of three servers. Is there any way to do this without having a text file with the names of the servers and associated computer names? (5 Replies)
Discussion started by: jacobsbigbro1
5 Replies

8. Shell Programming and Scripting

Find multiple string in one file using find command

Hi, I want find multiple string in one file using find coomand. And keeping it in one variable.grep is not working. (5 Replies)
Discussion started by: vivek1489
5 Replies

9. Shell Programming and Scripting

Script to find & replace a multiple lines string across multiple php files and subdirectories

Hey guys. I know pratically 0 about Linux, so could anyone please give me instructions on how to accomplish this ? The distro is RedHat 4.1.2 and i need to find and replace a multiple lines string in several php files across subdirectories. So lets say im at root/dir1/dir2/ , when i execute... (12 Replies)
Discussion started by: spfc_dmt
12 Replies

10. Shell Programming and Scripting

Find a string and then return the next 20 characters in multiple files

Hello all, I have a directory with 2000+ files. I need to look in each file for an invoice number. To identify this, i can search for the string 'BIG' and then retrieve the next 30 characters. I was thinking awk for this, but not sure how to do it. Each file contains one long string and in... (8 Replies)
Discussion started by: jdinero
8 Replies
SVN-MAILER(1)							   User Commands						     SVN-MAILER(1)

NAME
svn-mailer - A feature rich subversion commit notification tool SYNOPSIS
svn-mailer --commit -d repos -r rev [-f config] svn-mailer --propchange -d repos -r rev -a author -n propname [-o action] [-f config] svn-mailer --lock -d repos -a author [-f config] svn-mailer --unlock -d repos -a author [-f config] DESCRIPTION
The svnmailer package is a tool to post notifications of subversion events to various targets in different ways. Currently implemented: Mail via SMTP or a sendmail pipe, news via NNTP, XML via XMLRPC to a CIA tracker (see http://cia.navi.cx/ for details). The svn-mailer command line script is typically invoked via subversion's hook mechanism, but you can run it manually as well. This is use- ful to resend missing messages or for debugging purposes. Remember to start it under the correct user/group id. Otherwise it may have problems to open the repository or the config file. The svnmailer can be used in most cases as a drop-in replacement for mailer.py distributed with subversion. There are some subtle differ- ences which are dedicated to more behavior consistency. (Hopefully) all of them are stated in the HTML documentation. GENERAL OPTIONS --version show program's version number and exit -h, --help show a help message and exit COMMON PARAMETERS --debug Run in debug mode (means basically that all messages are sent to STDOUT) -dREPOSITORY, --repository=REPOSITORY The repository directory -fCONFIG, --config=CONFIG The configuration file -ePATH_ENCODING, --path-encoding=PATH_ENCODING Specifies the character encoding to be used for filenames. By default the encoding is tried to be determined automatically depending on the locale. BEHAVIOR OPTIONS The behavior options are mutually exclusive, i.e. the last one wins. -c, --commit This is a regular commit of versioned data (post-commit hook). This is default. -p, --propchange This is a modification of unversioned properties (post-revprop-change hook) -l, --lock (svn 1.2 and later) This is a locking call (post-lock hook). The locked file names are read from STDIN. -u, --unlock (svn 1.2 and later) This is a unlocking call (post-unlock hook). The unlocked file names are read from STDIN. SUPPLEMENTAL PARAMETERS -rREVISION, --revision=REVISION The modified/committed revision number -aAUTHOR, --author=AUTHOR The author of the modification -nPROPNAME, --propname=PROPNAME The name of the modified property -oACTION, --action=ACTION (svn 1.2 and later) The property change action. If specified, the old property value is read from STDIN. CONFIGURATION FILES
If the configuration file is not specified on the command line it is searched at default locations. The first one found is loaded. The locations are, in order: mailer.conf in the conf/ directory of the given repository, mailer.conf in the script directory itself, /etc/svn- mailer.conf. OLD STYLE COMMAND LINE
Alternatively you can use the old style compatibility command lines (options described above don't apply then): svn-mailer commit repos rev [config] svn-mailer propchange repos rev author propname [config] With svn 1.2 and later: svn-mailer propchange2 repos rev author propname action [config] svn-mailer lock repos author [config] svn-mailer unlock repos author [config] REPORTING BUGS
If you've found a bug or have an idea how to improve the svnmailer, please send a mail to <svnmailer-bugs@perlig.de>. AUTHOR INFORMATION
Andre "nd" Malo <nd@perlig.de>, GPG: 0x8103A37E SEE ALSO
The full documentation of the svnmailer package is maintained in HTML form. You may find it in the /usr/share/doc/svnmailer/ directory at your site or online at <http://opensource.perlig.de/svnmailer/>. For detailed information about subversion, consult the subversion book at <http://svnbook.red-bean.com/>. svn-mailer 1.0.8 2006 SVN-MAILER(1)
All times are GMT -4. The time now is 04:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy