Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Looking for a good way to search & destroy lines Post 25404 by Marc Rochkind on Monday 29th of July 2002 10:29:31 PM
Old 07-29-2002
You didn't say how much you need a script. Will it be run automatically? Otherwise, SWAT can delete a whole share at once.
Marc Rochkind
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Good Suggestions & Cool Scripts

I think you guys should gather up all of the cool, *handy* scripts that you post on this site along with other scripts members post and place them in their own category. Perderabo's date_calc script would be an excellent submission as would the mail script that someone posted that sends... (4 Replies)
Discussion started by: google
4 Replies

2. Shell Programming and Scripting

How do I search first&second string & copy all content between them to other file?

Hi All, How do I search first string & second string and copy all content between them from one file to another file? Please help me.. Thanks In Advance. Regards, Pankaj (12 Replies)
Discussion started by: pankajp
12 Replies

3. UNIX for Dummies Questions & Answers

Search for & edit rows & columns in data file and pipe

Dear unix gurus, I have a data file with header information about a subject and also 3 columns of n rows of data on various items he owns. The data file looks something like this: adam peter blah blah blah blah blah blah car 01 30 200 02 31 400 03 57 121 .. .. .. .. .. .. n y... (8 Replies)
Discussion started by: tintin72
8 Replies

4. Shell Programming and Scripting

How to recursively search and destroy tabs

Inspite of my best efforts, eclipse 3.5 seems to continue to misbehave and insert tab characters in my source code. How do I write a script execute from emacs to search all my files for tab characters and conveniently position me on the line of code that has the offending tab? Here are my... (7 Replies)
Discussion started by: siegfried
7 Replies

5. UNIX for Dummies Questions & Answers

How get only required lines & delete the rest of the lines in file

Hiiii I have a file which contains huge data as a.dat: PDE 1990 1 9 18 51 28.90 24.7500 95.2800 118.0 6.1 0.0 BURMA event name: 010990D time shift: 7.3000 half duration: 5.0000 latitude: 24.4200 longitude: 94.9500 depth: 129.6000 Mrr: ... (7 Replies)
Discussion started by: reva
7 Replies

6. Shell Programming and Scripting

search and replace, when found, delete multiple lines, add new set of lines?

hey guys, I tried searching but most 'search and replace' questions are related to one liners. Say I have a file to be replaced that has the following: $ cat testing.txt TESTING AAA BBB CCC DDD EEE FFF GGG HHH ENDTESTING This is the input file: (3 Replies)
Discussion started by: DeuceLee
3 Replies

7. Shell Programming and Scripting

Search and Destroy Script Direction Help

Being a beginner in scripting I am not sure the direction to take to accomplish the below task and would love suggestions. GOAL input file: domains.list Read input file, search in named.conf and find domain and delete entry for the purpose of cleanup activity. named.conf entry example zone... (8 Replies)
Discussion started by: djzah
8 Replies

8. Shell Programming and Scripting

Search pattern on logfile and search for day/dates and skip duplicate lines if any

Hi, I've written a script to search for an Oracle ORA- error on a log file, print that line and the .trc file associated with it as well as the dateline of when I assumed the error occured. In most it is the first dateline previous to the error. Unfortunately, this is not a fool proof script.... (2 Replies)
Discussion started by: newbie_01
2 Replies

9. UNIX for Beginners Questions & Answers

How to search & delete inclusively between two lines?

Hi all, I was wondering if anyone would know how to search & delete inclusively between two lines, please: Important: There are multiple }; lines. I'm curious how to delete the correct one only. Line numbers may vary each time this script is run. For example, I'd like to delete only the... (6 Replies)
Discussion started by: chatguy
6 Replies
DH_BUGFILES(1)							     Debhelper							    DH_BUGFILES(1)

NAME
       dh_bugfiles - install bug reporting customization files into package build directories

SYNOPSIS
       dh_bugfiles [-A] [debhelperoptions]

DESCRIPTION
       dh_bugfiles is a debhelper program that is responsible for installing bug reporting customization files (bug scripts and/or bug control
       files and/or presubj files) into package build directories.

FILES
       debian/package.bug-script
	   This is the script to be run by the bug reporting program for generating a bug report template. This file is installed as
	   usr/share/bug/package in the package build directory if no other types of bug reporting customization files are going to be installed
	   for the package in question. Otherwise, this file is installed as usr/share/bug/package/script. Finally, the installed script is given
	   execute permissions.

       debian/package.bug-control
	   It is the bug control file containing some directions for the bug reporting tool. This file is installed as
	   usr/share/bug/package/control in the package build directory.

       debian/package.bug-presubj
	   The contents of this file are displayed to the user by the bug reporting tool before allowing the user to write a bug report on the
	   package to the Debian Bug Tracking System. This file is installed as usr/share/bug/package/presubj in the package build directory.

OPTIONS
       -A, --all
	   Install debian/bug-* files to ALL packages acted on when respective debian/package.bug-* files do not exist. Normally, debian/bug-*
	   will be installed to the first package only.

SEE ALSO
       /usr/share/doc/reportbug/README.developers.gz

       debhelper(1)

       This program is a part of debhelper.

AUTHOR
       Modestas Vainius <modestas@vainius.eu>

11.1.6ubuntu2							    2018-05-10							    DH_BUGFILES(1)
All times are GMT -4. The time now is 07:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy