08-11-2010
so sorry, by ID i did not mean unix network id.
i meant id as in class number or a 10 digit phone number.
how to display a patter of number within a file?
but anyways, i have putty installed on my windows xp and that command gave no output.
---------- Post updated at 11:51 PM ---------- Previous update was at 11:45 PM ----------
hi,
forgot to put the *.
now, the problem is that it is giving 5, 6, 7 digit numbers highliighting only the first 5 which is not what i wanted.
---------- Post updated 08-11-10 at 12:10 AM ---------- Previous update was 08-10-10 at 11:51 PM ----------
Raja,
it's working. my apologies.
thank you so much buddy.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Was wondering if you could give me an example of extracting a 10 digit number from 5 txt files using a regular expression (the number is always different ) and storing the numbers in variables
Thanks
C19 (9 Replies)
Discussion started by: c19h28O2
9 Replies
2. Shell Programming and Scripting
i am new to shell scripting. i want to keep on increamenting a 6 digit number. For eg. 000000 + 1 = 000001 But instead of 000001 i get only 1. How do i do this ? Pls help. (8 Replies)
Discussion started by: kanchan_cp
8 Replies
3. Programming
Hi,
How can we generate 16 digit random nos in C. (10 Replies)
Discussion started by: ajaysahoo
10 Replies
4. Programming
I have to write a c program which takes a 3 digit number n and calculates the value of (2^n)+1 and then determines the number is prime or not.
I have tried to first calculate the value of 2^n and then adding one to it and then apply the logic of prime number.
but the ultimate problem is that... (7 Replies)
Discussion started by: agrawal.prachi
7 Replies
5. UNIX for Dummies Questions & Answers
Hello. I have 9060 files labelled File1 to File9060. They are in numerical order. When I grep a file eg. File90 it will show me all files that contain the pattern "File90", eg File901 or File9001. I can only get specific files for File1000 or higher. How can I resolve this problem? Is there a... (5 Replies)
Discussion started by: godzilla07
5 Replies
6. Shell Programming and Scripting
I want to write/print a number through a shell script up to its last significant digit (LSD) after the decimal point.
Say,
x=10.00056000000000000
I want to print x as x=10.00056.
Note that x can be any thing so I cannot know the position of the LSD always.
Thanks. (16 Replies)
Discussion started by: hbar
16 Replies
7. Shell Programming and Scripting
Dear All,
Lets say I have a number with following format:
####.12e-##
now I want to compare place holder in position 1 and 2.
How can I do that?
Note: My number is stored in a variable say var.
example:
var=9999.12e-05
Thanks & Regards,
linuxUser_ (6 Replies)
Discussion started by: linuxUser_
6 Replies
8. Shell Programming and Scripting
Hi experts,
I am using KSH and I am need to display file with number in front of file names and user can select it by entering the number.
I am trying to use following command to display list with numbers. but I do not know how to capture number and identify what file it is to be used for... (5 Replies)
Discussion started by: mysocks
5 Replies
9. UNIX for Beginners Questions & Answers
I am trying to process only IonCode_odd #'s (always 4 digits starting with zero), but the below isn't working as expected. Is there a better way? Thank you :).
IonCode_0401_xxxx_xxxx_xxxx.bam
IonCode_0401_xxxx_xxxx_xxxx.bam.bai
IonCode_0401_xxxx_xxxx_xxxx.fastq... (2 Replies)
Discussion started by: cmccabe
2 Replies
10. UNIX for Beginners Questions & Answers
I all
I am tryng to find a way to sort a list of number in a file by the value of last two digit.
i have a list like this
313202320388
333202171199
373202164587
393202143736
323202132208
353201918107
343201887399
363201810249
333201805043
353201791691 (7 Replies)
Discussion started by: rattoeur
7 Replies
LEARN ABOUT DEBIAN
trash-list
trash-list(1) General Commands Manual trash-list(1)
NAME
trash-list - List trashed files.
SYNOPSIS
trash-list [OPTIONS]... [PATH]...
DESCRIPTION
List all the contents of the trashcan.
EXAMPLES
List all trashed files or grep output:
$ trash-list
2008-06-23 21:57:26 /home/andrea/src/bluetrash/pippo
2008-06-23 21:50:41 /home/andrea/foobar
2008-06-23 21:50:49 /home/andrea/foobar
2008-06-23 21:53:13 /media/disk/adsfljasldj
$ trash-list | grep foo
2008-06-23 21:50:41 /home/andrea/foobar
2008-06-23 21:50:49 /home/andrea/foobar
BUGS
Report bugs to http://code.google.com/p/trash-cli/issues
AUTHORS
Trash was written by Andrea Francia <andreafrancia@users.sourceforge.net> and Einar Orn Olason <eoo@hi.is>. This manual page was written
by Steve Stalcup <vorian@ubuntu.com>. Changes made by Massimo Cavalleri <submax@tiscalinet.it>.
SEE ALSO
trash-put(1), trash-restore(1), trash-empty(1), and the FreeDesktop.org Trash Specification at http://www.ramendik.ru/docs/trashspec.html.
Both are released under the GNU General Public License, version 2 or later.
trash-list(1)