Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Remove Unwanted Libraries - optimizing Post 302381725 by otheus on Sunday 20th of December 2009 05:11:55 AM
Old 12-20-2009
Are you using GNU Make? It has some tools builtin to find your dependencies, build static dependency files, and copious debug output. You can use these to achieve your goals.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remove unwanted data?

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)
Discussion started by: hitmansilentass
24 Replies

2. Shell Programming and Scripting

Remove unwanted XML Tags

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)
Discussion started by: ambals123
1 Replies

3. UNIX for Advanced & Expert Users

How to Remove the unwanted Blank Lines

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)
Discussion started by: Ariean
5 Replies

4. Solaris

Remove unwanted packages

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)
Discussion started by: fugitive
4 Replies

5. Shell Programming and Scripting

awk - need to remove unwanted newlines on match

Context: I need to remove unwanted newlines from a data file listing books and associated data. Here is a sample listing ( line numbers included ): 1 360762| Skip-beat! 14 /| 9781421517544| nb | 2008.| Nakamura, Yoshiki.| NAKAMUR | Kyoko Mogami followed 2 her true love Sho to Tokyo to... (6 Replies)
Discussion started by: Bubnoff
6 Replies

6. Shell Programming and Scripting

Remove unwanted lines

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)
Discussion started by: anupdas
5 Replies

7. Shell Programming and Scripting

remove unwanted text using perl

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)
Discussion started by: taxi
9 Replies

8. Shell Programming and Scripting

How to remove unwanted strings?

Hi Guys, Can someone give me a hand on how I can remove unwanted strings like "<Number>" and "</Number>" and retain only the numbers from the input file below. INPUT FILE: <Number>10050000</Number> <Number>1001340001</Number> <Number>1001750002</Number> <Number>100750003</Number>... (8 Replies)
Discussion started by: pinpe
8 Replies

9. Shell Programming and Scripting

How to remove unwanted " from string...

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)
Discussion started by: BICC
3 Replies

10. Shell Programming and Scripting

Remove unwanted white space

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)
Discussion started by: sam05121988
11 Replies
dpkg-gencontrol(1)						    dpkg suite							dpkg-gencontrol(1)

NAME
       dpkg-gencontrol - generate Debian control files

SYNOPSIS
       dpkg-gencontrol [option...]

DESCRIPTION
       dpkg-gencontrol	reads  information  from  an  unpacked	Debian	source tree and generates a binary package control file (which defaults to
       debian/tmp/DEBIAN/control); during this process it will simplify the relation fields.

       Thus Pre-Depends, Depends, Recommends and Suggests are simplified in this order by  removing  dependencies  which  are  known  to  be  true
       according to the stronger dependencies already parsed. It will also remove any self-dependency (in fact it will remove any dependency which
       evaluates to true given the current version of the package as installed). Logically it keeps the intersection of multiple  dependencies	on
       the same package. The order of dependencies is preserved as best as possible: if any dependency must be discarded due to another dependency
       appearing further in the field, the superseding dependency will take the place of the discarded one.

       The other relation fields (Enhances, Conflicts, Breaks, Replaces and Provides) are also simplified individually by computing the  union	of
       the various dependencies when a package is listed multiple times in the field.

       dpkg-gencontrol also adds an entry for the binary package to debian/files.

OPTIONS
       -vversion
	      Sets the version number of the binary package which will be generated.

       -Vname=value
	      Set an output substitution variable. See deb-substvars(5) for discussion of output substitution.

       -Tsubstvars-file
	      Read  substitution  variables  in  substvars-file;  the default is debian/substvars.  This option can be used multiple times to read
	      substitution variables from multiple files (since dpkg 1.15.6).

       -Dfield=value
	      Override or add an output control file field.

       -Ufield
	      Remove an output control file field.

       -ccontrol-file
	      Specifies the main source control file to read information from. The default is debian/control.

       -lchangelog-file
	      Specifies the changelog file to read information from. The default is debian/changelog.

       -ffiles-list-file
	      Read or write the list of files to be uploaded here, rather than using debian/files.

       -Fchangelog-format
	      Specifies the format of the changelog. See dpkg-parsechangelog(1) for information about alternative formats.

       -ppackage
	      Generate information for the binary package package.  If the source control file lists only one binary package then this option  may
	      be omitted; otherwise it is essential to select which binary package's information to generate.

       -nfilename
	      Assume the filename of the package will be filename instead of the normal package_version_arch.deb filename.

       -is, -ip, -isp
	      These  options  are  ignored for compatibility with older versions of the dpkg build scripts but are now deprecated. Previously they
	      were used to tell dpkg-gencontrol to include the Section and Priority fields in the control file. This is now the default behaviour.
	      If you want to get the old behaviour you can use the -U option to delete the fields from the control file.

       -Ppackage-build-dir
	      Tells  dpkg-source  that	the  package  is  being  built in package-build-dir instead of debian/tmp.  This value is used to find the
	      default value of the Installed-Size substitution variable and control file field (using du), and for the	default  location  of  the
	      output file.

       -O[filename]
	      Print  the  control  file to standard output (or filename if specified, since dpkg 1.17.2), rather than to debian/tmp/DEBIAN/control
	      (or package-build-dir/DEBIAN/control if -P was used).

       -?, --help
	      Show the usage message and exit.

       --version
	      Show the version and exit.

FILES
       debian/control
	      The main source control information file, giving version-independent information about the source package and the binary packages it
	      can produce.

       debian/files
	      The  list  of  generated	files  which are part of the upload being prepared.  dpkg-gencontrol adds the presumed filenames of binary
	      packages whose control files it generates here.

SEE ALSO
       deb-substvars(5), deb-src-control(5), deb-changelog(5), deb-control(5).

1.19.0.5							    2018-04-16							dpkg-gencontrol(1)
All times are GMT -4. The time now is 03:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy