Hi All.
I need help for the below logic.
I ve a file like following
input file:
NopTX(5) // should be remain same as input
----Nop(@100); //1
Nop(90); //2
--Nop(80); //3
@Nop(70); //4
--@Nop(60); //5
@Nop@(@50); //6
--Nop@( 40); ... (3 Replies)
Hello,
The following sed command is giving error
sed: -e expression #1, char 13: unknown option to `s'
The sed command is
echo "//-----" | sed "s/\/\/---*/$parChk/g"
where parChk="//---ee-"
How can i print the variable value from sed command ?
And is it possible to replace a... (2 Replies)
I am poor with scripting;)
I have a file in the following format;
'This is a "test in production" of importance.'
I want to get rid of the spaces inside the "" part only to get the output as,
'This is a "testinproduction" of importance.' (1 Reply)
Hi All-
I have a xml file with tag
<Forename>ABCDEF</Forename>
<Surname>ABCDEFGH</Surname>
in between tag it could be anything I need to search
<Forename></Forename> and change what ever there in between
Regards,
Sreejit (1 Reply)
Greatings all,
I am coming to seek your knowledge and some help on an issue I can not currently get over. I have been searching the boards but did not find anything close to this matter I am struggling with.
I am trying to clean a CSV file and make it loadable for my SQL*Loader. My problem... (1 Reply)
Hello,
I am having flat file (Comma Delimiter) and the data in the file is as given below.
EMPNO, ENAME, DESIGNATION, SALARY
10979, Arun Kumar, Cosultant, 35000
13555, Bidhu Shekar, Senior Consultant, 45000
15000, Kiran, Kumar, Senior, Consultant, 40000
If... (9 Replies)
I have a directory that has directories that contain Dir-20111114-xyz and I want to change them to Dir-20111121-xyz.
Inside of Dir-20111114-xyz, I have a config.xml file that also contains the date that I need changed from 20111114 to 20111121
I have used sed to replace inside of file not... (4 Replies)
Hello!
I'd like to modify custom values in a XML config file between comment tags using bash script.
<feature>
<keyboardshortcut>C-m</keyboardshortcut>
<option1>disabled</option2>
<option2>enabled</option2>
</feature>
<!-- bash script features START -->
<feature>
... (2 Replies)
Hi all,
Please somebody help me with this:
I want to check if the files listed in a text file, are found under a directory or not.
For example: the file is list_of_files.txt, which contains inside this rows:
# cat list_of_files
logs
errors
paths
debug
#
I want to check if these... (3 Replies)
Good day guys,
I'm having trouble in creating a logic when it comes to replacing the values inside a file.
I tried using sed command but it just doesn't work the way I want it to be.
Here is what I'm trying to achieve.
If my input file contains the values below.
NAME++GUEST1 ++GUESS2++... (3 Replies)
Discussion started by: asdfghjkl
3 Replies
LEARN ABOUT FREEBSD
catman.local
MAKEWHATIS.LOCAL(8) BSD System Manager's Manual MAKEWHATIS.LOCAL(8)NAME
makewhatis.local, catman.local -- start makewhatis or catman for local file systems
SYNOPSIS
/usr/libexec/makewhatis.local [options] directories ...
/usr/libexec/catman.local [options] directories ...
DESCRIPTION
The makewhatis.local utility starts makewhatis(1) only for file systems physically mounted on the system where the makewhatis.local is being
executed. Running makewhatis by periodic weekly for rw nfs-mounted /usr may kill your NFS server -- all NFS clients start makewhatis at the
same time! So use this wrapper for cron(8) instead of calling makewhatis directly. The catman.local utility is using for same purposes as
makewhatis.local but for catman(1).
FILES
/etc/periodic/weekly/320.whatis run makewhatis.local every week
/etc/periodic/weekly/330.catman run catman.local every week
SEE ALSO catman(1), find(1), makewhatis(1), cron(8), periodic(8)HISTORY
The makewhatis.local utility appeared in FreeBSD 2.2.
BSD April 26, 1996 BSD