06-27-2010
Hi Bartus11, I know, I did not try to provide a solution, I just tried to explain what a sed construction such as he used does, since it did not work as he expected (actually that was what he was asking).
This User Gave Thanks to Scrutinizer For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How do I extract the bytes size string from the ls -l command. (1 Reply)
Discussion started by: hugow
1 Replies
2. Shell Programming and Scripting
I want to collect the characters from 1-10 and 20-30 from each line of the file and take them in a file in the following format.Can someone help me with this :
string1,string2
string1,string2
string1,string2
:
:
:
: (7 Replies)
Discussion started by: cmsdelhi
7 Replies
3. Shell Programming and Scripting
Hi,
I have a sql file and i need to extract the table names used in the sql file using a unix script. If i can extract the lines between the keywords 'FROM' and 'WHERE' in the file, my job is done. can somebody tell me how to do this using a shell script. If u can just let me know, how to... (2 Replies)
Discussion started by: babloo
2 Replies
4. Shell Programming and Scripting
i have textfiles that contain a series of lines that look like this:
string0 .................................................... column3a column4a
string1**384y0439 ..................................... column3b column4b... (2 Replies)
Discussion started by: Deanne
2 Replies
5. Shell Programming and Scripting
Hello all,
I am being dumb with this and I know there is a simple solution.
I have a file with the follwing lines
bc stuff (more)...............123
bc stuffagain (moretoo)............0
bc stuffyetagain (morehere)......34
failed L3 thing..............1
failed this... (2 Replies)
Discussion started by: gobi
2 Replies
6. Shell Programming and Scripting
There are a lot of ways to extract text from between two strings, but what if those strings occur multiple times and you only want the text from the first two strings? I can't seem to find anything to work here. I'm using sed to process the text after it's extracted, so I prefer a sed answer, but... (4 Replies)
Discussion started by: fubaya
4 Replies
7. Shell Programming and Scripting
Hi All,
I have a file whose common patter is like this:
.I 1
.U
87049087
.S
Some text here too
.M
This is a text
.T
Some another text here
.P
Name of the book
.W
Some lines of more text. This text needs to be extracted.
.A
more text goes here too
.I 2 (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
8. Shell Programming and Scripting
Hi experts,
Ive got a text file which has the following text which will occur in this format at least one time:
+=========================>>
Some stuff that evreryone should knnow
other stufsjdokajkajokajda
aijhjajcdjajcisajcqsqdqwdqad
<<=========================+
It is likely that... (8 Replies)
Discussion started by: martin0852
8 Replies
9. UNIX for Dummies Questions & Answers
Here is my task, I feel sure this can be accomplished with see/awk but can't seem to figure out how.
I have large flat file from which I need to extract every case of a pairing of characters (GG) in this case PLUS the previous 20 characters. The output should be a list (which I plan to make... (17 Replies)
Discussion started by: Twinklefingers
17 Replies
10. UNIX for Beginners Questions & Answers
Hi Team -
I hope everyone has been well!
I export a file from one of our source systems that gives me more information than I need. The way the file outputs, I need to extract certain strings at different positions on the file and echo them to another file.
I can do this in batch easily,... (2 Replies)
Discussion started by: SIMMS7400
2 Replies
LEARN ABOUT DEBIAN
apt-cudf
APT-CUDF(1) DOSE Tools APT-CUDF(1)
NAME
apt-cudf - CUDF solver integration for APT
SYNOPSIS
solvername
DESCRIPTION
apt-cudf translates back and forth among a CUDF-based dependency solver and the protocol used by APT to talk with external dependency
solvers. apt-cudf therefore allows to use any CUDF solver as an external solver for APT.
apt-cudf relies on its "argv[0]" name to find the CUDF solver to invoke. In common setups, you should have a CUDF solver specification
file under /usr/share/cudf/solvers/ for each installed CUDF solver. To use one such solver with APT, you should create a symbolic link
pointing to /usr/bin/apt-cudf under /usr/lib/apt/solvers/ and call it with the name of the CUDF solver you want to use.
OPTIONS
-v
--verbose
Print debugging information during operation. Can be repeated.
-h
--help
Show usage information and exit.
--version
Show program's version and exit.
--dump
Dump the cudf universe and solution
--noop
Dump the cudf universe and solution and exit. This is useful to generate a cudf universe from a edsp file
--conf
Use a configuration file. Default in /etc/apt-cudf.conf
-s <solver>
--solver <solver>
Specify the external solver to use.
-e
--explain
Print a human-readable summary of the solution.
--native-arch
Speficy the native architecture to be used in the edsp -> cudf translation. By default apt-cudf uses apt-config to deduce the native
architecture. This option is useful if the edsp was generated on a machine with a different architecture.
--foreign-archs
A comma-separated list of foreign architectures to be used in the edsp -> cudf translation
SEE ALSO
apt-get(8), update-cudf-solvers(8), README.cudf-solvers <file:///usr/share/doc/apt-cudf/README.cudf-solvers>, README.Debian
<file:///usr/share/doc/apt-cudf/README.Debian>
AUTHOR
Copyright: (C) 2011 Pietro Abate <pietro.abate@pps.jussieu.fr> Copyright: (C) 2011 Stefano Zacchiroli <zack@debian.org>
License: GNU Lesser General Public License (GPL), version 3 or above
dose3 3.0.2 2012-06-25 APT-CUDF(1)