Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding out a number in Zip File

Status
Not open for further replies.

Rvir

Programmer
May 16, 2007
18
US
How can I find a number in a zip file. I cannot unzip the file since its huge on box .Please suggest me
 
Anyway you can explain what do you want to do with what ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 

Try:
Code:
cat ZipFile.zip|unzip -c|grep 'number'
[3eyes]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Just a chicken & egg followup, particularly on the grep...

if you want to find a number in a large file, why would you grep for it? If you know the number to grep for, you already have it.
 
Chapter11 said:
...
if you want to find a number in a large file, why would you grep for it? If you know the number to grep for, you already have it.

1) To find out if it exists or not?

2) If the compressed file is text, find the line number and/or joined/attached/connected information

[noevil]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top