02-10-2009
The data is from CVS log and I only care about the number, not alphabetic.
All I want to do is sort numers in each row.
Thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
I'm trying to sort a file.dat with the sort command. The data contained by file.dat is similar to the data set below:
100.000
99.000
110.000
55.000
113.000
33.000
25.000
9.000
15.000
It is relatively easy to sort the data in ascending or descending order, but the problem is... (11 Replies)
Discussion started by: bjorb
11 Replies
2. Shell Programming and Scripting
This is an extension to a question that was earlier posted on this forum:
I have task in which I need to pickup a set of files from a directory
depending on the following criteria:
Every month 6 files are expected to arrive at /test.
The files come with date timestamp and the latest file set... (7 Replies)
Discussion started by: w020637
7 Replies
3. UNIX for Dummies Questions & Answers
I have a directory with a large number (1000s) of files and I need to produce a file listing all the files in the directory ordered "properly" (properly will be explained shortly).
The files have the following naming pattern:
bul_13_5_228_b.txt
bul_1_3_57.txt
bul_13_6_229.txt... (2 Replies)
Discussion started by: fdsayre
2 Replies
4. Shell Programming and Scripting
Im trying to sort all this data.
I need to get a list out of the data (websites) and just list them out can anyone point me in the right direction. Im working with dans guardian.
2009.6.10 6:26:50 - 192.168.42.200... (5 Replies)
Discussion started by: darknirvana
5 Replies
5. UNIX for Dummies Questions & Answers
Hi, I'm working on gathering information stored in .txt files. The format of the data within the .txt files is shown in the picture uploaded with this post. Sections like the one pictured are repeated (with different data, same format) many times within each .txt file but each section is of data... (4 Replies)
Discussion started by: p43hd
4 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need to filter the output of a command and display certain data only. How can i do this ?
My file contain:
$ cat abc.txt
<testcase title="AAA_100">
<testcase title="BBB_200">
<testcase title="CCC_300">
<testcase title="DDD">
... (3 Replies)
Discussion started by: crazydude80
3 Replies
7. Shell Programming and Scripting
I have bash, awk, and sed available on my portable device. I need to extract 10 fields from each table row from a web page that looks like this:
</tr>
<tr>
<td>28 Apr</td>
<td><a... (6 Replies)
Discussion started by: rickgtx
6 Replies
8. Shell Programming and Scripting
Hello,
To simplify ma question, here is my list :
# cat liste
a
m
x
h
and here is the right order to list his component :
liste_order="1:m 2:a 3:h 4:x"
The only way to sort my file like I want, I find this idea :
cat liste | sed 's/a/2:a/g' | sed 's/m/1:m/g' | sed... (9 Replies)
Discussion started by: mlaiti
9 Replies
9. Shell Programming and Scripting
Hello All,
I have one file with multiple lines records like as below.. I need to extract only BFG and corresponding BSG record/line. for evry BFG there is one BSG record is there as mentioned in BOLD and so on...
BFG BR 00001 20140724 000 000 ? ?
BLG UVR QPR 01 380 ? ? 999 0 0 0 ?
BLC... (2 Replies)
Discussion started by: Riverstone
2 Replies
10. Shell Programming and Scripting
Hi,
I'm trying to transform my data from the following format:
eps:, 0.248281687841641, -2.83539034165844e-7, 2.78042576353472+6.3505226053266e-6i
to this:
eps:, 0.248281687841641, -2.83539034165844e-7, 2.78042576353472, +6.3505226053266e-6
so I can plot it with GnuPlot.
how do I... (4 Replies)
Discussion started by: rogeriogouvea
4 Replies
LEARN ABOUT DEBIAN
cvs2html
CVS2HTML(1) Debian user's manual CVS2HTML(1)
NAME
cvs2html - render a CVS commit log in HTML
SYNOPSIS
cvs2html [-a[-b][-k]] [-n numdif] [-l/-L home] [-e] [-f] [-d MMM DD [YYYY]] [-D DD] [-i image]] [-h] [-v] [-w framewidth] [-s percentage]
[-N maxchrono] [-rrev1:rev2] [-c|-C cfilename] -O | -o htmlname [-p cvspath] [-v verbosity]
DESCRIPTION
The cvs2html script fetches the commit log for a CVS module and renders it in HTML.
-a Generate additional fields and files containing differences between versions in an xdiff-like side by side manner.
-b Use spaces as breakpoints to wrap the text, if -a is specified. This is used to stop the two columns from exceeding the total width.
-c | -C filename
Save a chronologically sorted list of all log entries in html format in filename. Use -C to reverse-sort the file.
-d MMM DD [YYYY]
Omit all log messages prior to the given date. The first three letters of the month should be used (eg Jun 5). The year is optional.
-D DD Omit all log messages older than DD days.
-e Print log messages in courier (non-proportional) font.
-f Generate individual log files for each file when using -o.
-h Show help
-i image
Make image the background image.
-k Ignore changes in lines caused by CVS-keyword substitutions when -a is specified.
-l home
Make links relative to home.
-L home
Make links relative to home, but substitute file extensions with .html.
-n numdiff
Output only the latest numdiff diffs in the log. Older commits will only have the log data displayed.
-N maxchrono
Show only the latest maxchrono file changes in the chronological list of changes.
-o output
If output is a directory, all html files produced are stored there, using the name of the repository as the base filename. Other-
wise, output is used as the base name. Generate frames for easier browsing.
-O output
If output is a directory, all html files produced are stored there, using the name of the repository as the base filename. Other-
wise, output is used as the base name.
-P cvspath
Set the cvs path to cvspath.
-rrev1:rev2
Show only the log messages between rev1, and rev2. If a file isn't tagged, then the whole revision story of the file is shown.
-s percentage
Make the width of the left frame, percentage of the window.
-v Insert CVSROOT information in the index.
-V verbosity
Set the verbosity. The higher verbosity is, the more output is printed out.
-w framewidth
Make the width of the left frame, framewidth pixels.
EXAMPLE
cvs2html -l http://cvs.sslug.dk/linuxbog -f -p \ -o cvs2html/index.html -v -a -b -n 6 -C chrono.html
Will create a directory called cvs2html directory. This directory will contain a log data file, for every file in the repository. The last
6 commits to every file will have a diff available. All links will be relative to http://cvs.sslug.dk/linuxbog. It will also create a file
with all the log data in it, in chronological order.
AUTHORS
The cvs2html script was written by Peter Toft and others (see the comments in /usr/bin/cvs2html for an exhaustive list). This manual page
was written by Antti-Juhani Kaijanaho for Debian GNU, and modified by Pascal Hakim.
SEE ALSO
The file /usr/share/doc/cvs2html/help.txt.
The source code to cvs2html, in /usr/bin/cvs2html.
cvs(1)
Debian Project 1999-12-10 CVS2HTML(1)