04-17-2012
More details please. What criteria is used to decide which row is to be deleted? You've told us what criteria to not use...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i need help..!!!!
i have one big text file estimate data file size 50 - 100GB with 70 Mega Rows.
on OS SUN Solaris version 8
How i can remove first line of the text file.
Please suggest me for solutions.
Thank you very much in advance:) (5 Replies)
Discussion started by: madoatz
5 Replies
2. Shell Programming and Scripting
what is the sed command to remove the first two characters of every line of a text file?
each line of the text file has the same amount of characters, and they are ALL NUMERIC. there are hundreds of lines though.
for example,
>cat file1.txt
10081551
10081599
10082234
10082259
20081134... (20 Replies)
Discussion started by: ajp7701
20 Replies
3. UNIX Desktop Questions & Answers
Hi, I'm trying to do something relatively simple.
I have a txt file that has the following kinds of lines (and many more lines):
CP19 Oahu - Maunawili Falls
CP20 Oahu - Maunawili Falls
AG12 Oahu - Maunawili Falls
CP22 Oahu - Maunawili Falls, Local area
AG14 Oahu
CP141 KZ102 Kauai -... (7 Replies)
Discussion started by: euspilapteryx
7 Replies
4. UNIX for Dummies Questions & Answers
Hi,
i have a text file with some links and i want to remove some characters from it. My text file is something like this:
<p> <b> Arquivo CASC2270.09o transferido com sucesso. </b> </p><p> <b> Verificando CASC2270.09o ... </b> </p><p> <b> Iniciando processamento de CASC2270.09o ... </b>... (11 Replies)
Discussion started by: limadario
11 Replies
5. Shell Programming and Scripting
hi, I wish to move a specified line from a text file:
ltoremove=5 #remove 5th line
i=1
while read line ; do
if ; then
...
i=$(($i+1))
done < "txt.txt"
how should this actually be done? is there a shorter faster way to do this? :wall:
Thanks,
Ted (2 Replies)
Discussion started by: ted_chou12
2 Replies
6. Shell Programming and Scripting
Hi
I have a file which has aroun 200 line and it is like this:
GROUP2-WDI">GROUP2-WDI
GROUP3-WDI">GROUP3-WDI
KL2P0508BC">KL2P0508BC
KL2P0508BIT">KL2P0508BIT
KL3P0506BC">KL3P0506BC
KL3P0506BUS">KL3P0506BUS
KLD1F0507DBT">KLD1F0507DBT
KLD1F0507DIT">KLD1F0507DIT
KLD1F0510DBT">KLD1F0510DBT... (3 Replies)
Discussion started by: digitalmahdi
3 Replies
7. Shell Programming and Scripting
Hi everybody,
I have a perl script that I used to collect traceroute data from some site.
It create output on the text file. The problem is , some site usually timed out when it's being tracerouted. And it show * * * on the line.
Here is the example
hop list to www.example.com
192.168.3.1... (3 Replies)
Discussion started by: franzramadhan
3 Replies
8. Shell Programming and Scripting
Hi All,
I am creating a text file using perl. The first record I am writing as "$line" and all the other as "\n$line". At the end the file is having N number of lines. I am using this file for MLOAD (Teradata), which is reading N+1 lines in the file and failing.I am not able to find new line... (2 Replies)
Discussion started by: unankix
2 Replies
9. Shell Programming and Scripting
I have a text file with a line of text that contains numbers and text formatted into groups. I need to extract the number that can be either 1,2 or 3 digits long. Then write it to a variable, but i need to remove any leading spaces in the number first.
I can get the numbers out but how to remove... (12 Replies)
Discussion started by: kcpoole
12 Replies
10. Shell Programming and Scripting
I have test.xml XML file like
<Report account="123456" start_time="2014-09-08T00:00:00+00:00" end_time="2014-09-10T23:59:59+00:00" user="Dollar Tree" limit="1000000" more_sessions="some text ">
<Session ......rest of xml...............
I need output like
<Report>
<Session ......rest of... (3 Replies)
Discussion started by: kumars1331@gmai
3 Replies
LEARN ABOUT DEBIAN
apt-cudf.conf
APT-CUDF.CONF(5) DOSE Tools APT-CUDF.CONF(5)
NAME
apt-cudf.conf - Configuration file for apt-cudf
DESCRIPTION
The configuration file allows one to define default optimization criterias for all solvers known by apt-cudf
SYNTAX
solver: <solver list> | '*'
A comma-separated list of solvers. The character will make the optimization criteria as default for all solvers without a more specific
definition.
upgrade: <optimization criteria>
dist-upgrade: <optimization criteria>
install: <optimization criteria>
remove: <optimization criteria>
Default optimization criteria associated to apt-get actions. The optimization criteria is solver specific. Specifying a incorrect criteria
will result in an error from the underlying cudf solver. Please refere to the solver man page for the correct syntax
trendy: <optimization criteria>
paranoid: <optimization criteria>
<keyword>: <optimization criteria>
Define a shortcut for an optimization criteria. The shortcut can then be used by apt-get to pass a specific optimization criteria for a
cudf solver
apt-get install gnome --solver aspcud -o "APT::Solver::aspcud::Preferences=trendy"
EXAMPLE
solver: mccs-cbc , mccs-lpsolve
upgrade: -lex[-new,-removed,-notuptodate]
dist-upgrade: -lex[-notuptodate,-new]
install: -lex[-removed,-changed]
remove: -lex[-removed,-changed]
trendy: -lex[-removed,-notuptodate,-unsat_recommends,-new]
paranoid: -lex[-removed,-changed]
solver: *
upgrade: -new,-removed,-notuptodate
dist-upgrade: -notuptodate,-new
install: -removed,-changed
remove: -removed,-changed
trendy: -removed,-notuptodate,-unsat_recommends,-new
paranoid: -removed,-changed
SEE ALSO
apt-cudf(8), 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.CONF(5)