Hello all ( again )
I will like to search and replace string in text file
ok I can loop throw the files like :
foreach f ( ` find . -name "*."`)
.. but here I like to examine the file if in contain the desired string
and so do the sed -e 's/blah/foo/g' thingy on it or there is better way... (1 Reply)
Hi,
In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way :
- Make a full system backup excluding the user file system (this... (7 Replies)
Could someone help me in recursive search and ftp'ing the files to remote server?
The host machine will have
/dir1/dira/list_of_files1
/dir1/dirb/list_of_files2
/dir1/dirc/list_of_files3
.
.
.
so., I need to search from dir1 recursively (only one level down) and find all the files that... (1 Reply)
Hi all,
Since my gopher server doesn't like filenames containing 2 or more consecutive dots in a filename, I'd like to do a search for them and replace them with... well, let's say underscores...
I've tried a oneliner or 2 from other posts, but they don't seem to work well with locating dots.... (3 Replies)
Hello again.
Well, I need help again sooner as I thought. Now I want to search for files with a known name within all subdirs, and copy the to differently named files in the same directory.
For example if I had only one file to copy, I would just usecp fileName newFileNamebut to do this... (1 Reply)
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Hi,
Need some help...
I want to execute sequence commands, like below
test1.sh
test2.sh
...etc
test1.sh file will generate log file, we need to search for 'complete' string on test1.sh file, once that condition success and then it should go to test2.sh file, each .sh scripts will take... (5 Replies)
Dear Unix Forum Group Members,
Please do let me know how I can replace the double pipe with single pipe recursively on single record.
Sample Input Data:
DN set|Call prefix||| Called number address nature
0||| *789|||||||ALL number types
0||| 00||||||||ALL number types
10||... (5 Replies)
before posting, I have tried to find my answer elsewhere. no luck.
I need to find a file buried in a folder somewhere.
Master folder has 10 sub folders.
each sub folder has folders too.
I found this but it does nothing
I am on Mac and use Applescript.
do shell script "find... (2 Replies)
Discussion started by: sbrady
2 Replies
LEARN ABOUT CENTOS
cvscheck
CVSCHECK(1) [FIXME: manual] CVSCHECK(1)NAME
cvscheck - Offline status report for files in a checked-out CVS module.
SYNOPSIS
cvscheck [dir]
DESCRIPTION
cvscheck prints information about the status of your local CVS checkout without communicating with the server. This means it is extremely
fast and does not require a network connection.
The given directory and all of its subdirectories will be processed recursively. If no directory is given, the current directory and its
recursed subdirectories will be used.
Each file with an interesting status will be printed with a status character in front of its name. The status characters are as follows.
? foobar.c
The file is not known to CVS
M foobar.c
The file is definitely locally modified
m foobar.c
The file might have local changes. You should diff with the server to make sure.
C foobar.c
The file has a CVS conflict and therefore cannot be committed.
U foobar.c
This file is in CVS but is missing in your local checkout.
T foobar.c
This file has an unusual sticky CVS tag.
A foobar.c
You have done a cvs add for this file, but have not yet committed it.
R foobar.c
You have done a cvs rm for this file, but have not yet committed it.
This utility is part of the KDE Software Development Kit.
SEE ALSO cvs(1)AUTHORS
cvscheck was written by Dirk Muller<mueller@kde.org> and Sirtaj.Singh.Kang; <taj@kde.org>
This manual page was prepared by Ben Burton<bab@debian.org> for the Debian GNU/Linux system (but may be used by others).
[FIXME: source] March 8, 2003 CVSCHECK(1)