10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. 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
10. 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