10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to collect some statistical results from a series of files that are being generated by other software. The files are tab delimited. There are 4 different sets of statistics in each file where there is a line indicating what the statistic set is, followed by 5 lines of values. It... (8 Replies)
Discussion started by: LMHmedchem
2. UNIX for Beginners Questions & Answers
Hello, very new to this and have to use tcsh (not a choice at the moment).
I need to convert files within sub directories. My foreach loops don't work.
Directories are as follow:
and so on.
... (2 Replies)
Discussion started by: IlaBert
3. Shell Programming and Scripting
I'm trying to write an awk function that returns all possible permutations of n items chosen in a list of m items. For example, given the input "a,b,c,d,e" and 3, the function should return the following :
a a a
a a b
a a c
a b a
a b b
c a a
c a b
e e c
e e d
e e e
(125... (21 Replies)
Discussion started by: cjnwl
4. UNIX for Dummies Questions & Answers
I need to filter my data based on items in column 23. Column 1 until column 23 are tab separated. This is how column 23 looks like:
I want to extract lines if items 7 (separated by : ) in column 23 are more than 0.25 . In example above , item... (2 Replies)
Discussion started by: janshamsani
5. Shell Programming and Scripting
This is my first ever post... please help! :o
I have two columns....here is part of the file...
5710, ... (3 Replies)
Discussion started by: pelhabuan
6. Shell Programming and Scripting
Let's I have the following strings (md5):
071af3225fe50a1fdbb42c43aac313cc... (4 Replies)
Discussion started by: talfiq
Hi everyone! So I have a listView on my Form named "officeView" I already have the code to add and update info into it, but Im having troubles deleting items out of it. :/
Now I know how to delete an Item from the listView, but I want the item before the deleted item to become automatically... (0 Replies)
Discussion started by: romeo5577
8. Shell Programming and Scripting
Little lost here, I am trying to search a line for both values after the $ signs. My ultimate goal is to get percertage.
$string = "Something on sale for $4 and orginal price $10";
$strstr =. strstr($string, '$');
$strrchr =. strrchr($string, '$');
echo... (1 Reply)
Discussion started by: mrlayance
9. UNIX for Dummies Questions & Answers
I have a lot of programs i want to run on some data files, they need to be done sequentially. Often the output from one program is the input for the next.
$ progA data1 > data1.A
$ progB data1.A > data1.AB
$ progC data1.AB > data1.ABC
repeat on data2, 3, 4, 5, 6 etc
... (4 Replies)
Discussion started by: Jay-pea
10. Shell Programming and Scripting
I have 2 files with contents in them and I need to compare each item in each file.
The items names can be of different lengths.
If the items in the File1 are not in File2,
delete the missing item in File1.
The resulting... (12 Replies)
Discussion started by: ReV