Hi Can any one help me remove the unwanted data? I would want to remove the complete event id 4910 ( the type there is INFO), that means, I have to remove starting from 7th - 19th lines. can any one of you please help?
Thanks, (24 Replies)
I have set of sources and the respective resolution. Please advice how to resolve the same using Unix shell scripting.
Source 1:
=======
<ext:ContactInfo xmlns:ext="urn:AOL.FLOWS.Extensions">
<ext:InternetEmailAddress>AOL@AOL.COM</ext:InternetEmailAddress>
</ext:ContactInfo>
Resoultion... (1 Reply)
I have a file with the below data, i would like to remove the end blank lines with no data. I used the below commands but could not able to succeed, could you please shed some light.
Commands Used:
sed '/^$/d' input.txt > output.txt
grep -v '^$' input.txt > output.txt
input.txt file... (5 Replies)
I got a system which was installed with SUNWCXall cluster installed on it and i want remove unwanted software like GMNOME, Java Desktop System, Staroffice and numerous other softwares .. i want to do an automated removal of these packages where its uninstalled by itself ..from the is there any... (4 Replies)
We have a huge makefile composing of inclusion of libraries, objects and system libraries to generate a binary.
How do we find out that which of the libraries we can remove in the most efficient way? Doing hit and trial method is a waste of time and can during the linking with some post linking... (12 Replies)
I have a .xml file, where i need some output. The xml file is like:
Code:
<?******?></ddddd><sssss>234</dfdffsdf><sdhjh>534</dfdfa>.........
/Code
I need the output like:
code
234
534
.
.
.
/code
How can i do it? (5 Replies)
Hello..I have a text file that need to remove unwanted text. This is the original file.
No. Time Source Destination Protocol Info
16 0.649949 10.1.1.101 209.225.11.237 HTTP POST /scripts/cms/xcms.asp HTTP/1.1 ... (9 Replies)
I have this Input File with extra double quotes in the middle. Please suggest how to handle this condition.
Input File:
"123985","SAW CUT CONCRETE SLAB 20"THICK",,"98.57","","EACH","N"
"204312","ARMAFLEX-1 3/8 X 3"",,"2.48","","PER FOOT","N"
"205745","MISTING HEAD HOLLOW CONE "C"... (3 Replies)
Hi,
I have a very big file 25GB with information present in it like
$ head ind_stats
update index statistics pfirm001.dbo.Office using 200 values
go
... (11 Replies)
how to remove unwanted commas from a .csv file
Input file format
"Server1","server-PRI-Windows","PRI-VC01","Microsoft Windows Server 2012, (64-bit)","Powered On","1,696.12","server-GEN-SFCHT2-VMS-R013,server-GEN-SFCHT2-VMS-R031,server-GEN-SFCHT2-VMS-R023"... (5 Replies)
Discussion started by: ranjancom2000
5 Replies
LEARN ABOUT DEBIAN
update-metainit
UPDATE-METAINIT(1) User Contributed Perl Documentation UPDATE-METAINIT(1)NAME
update-metainit - Generates init scripts
SYNOPSIS
update-metainit [--remove initname [--purge] ]
DESCRIPTION
Metainit solves the problem of writing good init scripts. Instead of manually creating these important files, they are derived from a
declaritive description in the metainit files in /etc/metainit. These files can be shipped with packages or created by the local adminis-
trator.
If update-metainit called without argument, it will regenerate init scripts for all the files in /etc/metainit. The generated files contain
a large warning in form of a comment that they will be overridden. Modifications are preferably done in the files in /etc/metainit and made
effective by running update-metainit. If needed, the administrator can prevent modified init files by removing the warning comment.
OPTIONS --remove initname
This command will remove any generated and non-modified scripts that were created by the metainit file with the name initname.
--purge
Only usable with --remove. Will remove the generated files even if modified.
SEE ALSO dh_metainit(1)AUTHOR
Joachim Breitner <nomeata@debian.org>
perl v5.8.8 2007-07-30 UPDATE-METAINIT(1)