10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am getting an argument which specifies the range of numbers. eg: 7-15
Is there a way that i can easily (avoiding loop) print the range of number between and including the specified above.
The above example should translate to 7,8,9,10,11,12,13,14,15 (3 Replies)
Discussion started by: tostay2003
2. Shell Programming and Scripting
I'm trying to match a filename that could be called anything from vout001 to vout252 and was trying to do a small test but I'm not getting the result I thought I would..
Can some one tell me what I'm doing wrong?
*****@********>echo $mynumber ... (4 Replies)
Discussion started by: Jazmania
3. UNIX for Dummies Questions & Answers
I am trying to extract specific information from a large *.sam file (it's originally 28Gb).
I want to extract all lines that are on chr3 somewhere in the range of 112,937,439-113,437,438.
Here is a sample line from my file so you can get a feel for what each line looks like:
seq.4 0 ... (8 Replies)
Discussion started by: genGirl23
4. Shell Programming and Scripting
I want to know how to grep for the lines that has a number between given range(start and end).
I have tried the following sed command.
sed -n -e '/20030101011442/,/20030101035519/p'
However this requires both start and end to be part of the content being grepped. However... (4 Replies)
Discussion started by: tamil.pamaran
5. UNIX for Dummies Questions & Answers
Hi I have a data file with two columns which looks like:
18 32 (7 Replies)
Discussion started by: marhuu
6. UNIX for Dummies Questions & Answers
I have a column where there are values from 1 to 150.
I want to get the frequency of values in the following ranges:
How can I do this in a for loop?
Guss (1 Reply)
Discussion started by: Gussifinknottle
7. Shell Programming and Scripting
We have some ranges of number which belongs to particual group as below.
GroupNo StartRange EndRange
Group0125 935300 935399
Group2006 935400 935476
Group0324 935477 935549
... (6 Replies)
Discussion started by: thepurple
8. UNIX for Dummies Questions & Answers
Hi im new to unix and need to find a way to grep the top 5 numbers in a file and put them into another file. For example my file looks like this
and so on...
How can... (1 Reply)
Discussion started by: ProgChick2oo9
9. UNIX for Advanced & Expert Users
When I do a ls -lt I get a list of files by date modified from newest to oldest. I would like to be able to copy some files to another directory using a date last modified range (i.e. Apr 30 - May 13) How could I do this?
Joe (4 Replies)
Discussion started by: geauxsaints
10. Shell Programming and Scripting
I am a trying to write a script using a loop i guess. What I need to do is write a script that can allow my users to load a tape and copy a range of files from a tape to the hard disk. By range I mean, I would like the users to pick a range of numbers like files 3 - 8 and the script will... (0 Replies)
Discussion started by: msjazzie