Sponsored Content
Top Forums Shell Programming and Scripting Searching inside a .gz file without gunzip Post 302545718 by realspirituals on Tuesday 9th of August 2011 09:48:28 AM
Old 08-09-2011
Could you please explain?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Gunzip : unexpected end of file

Hi, While uncompress , gunzip filename.cpio.gz getting the fg. error gunzip: filename.cpio.gz: unexpected end of file. Whats the problem? Size of this .gz file is 660mb . Thanks, (1 Reply)
Discussion started by: Dolly
1 Replies

2. UNIX for Dummies Questions & Answers

Pattern searching inside Variable - not looking at files

Hi, I've searched this site and not found this already, so if I missed on my search, sorry. I need to pass in a variable to a script, where the first three characters of that variable represent a calendar quarter, and the last 2 characters are the year. I.E. Q0105 for Q1, Q0205 for Q2, and... (3 Replies)
Discussion started by: Rediranch
3 Replies

3. UNIX for Dummies Questions & Answers

searching files inside directory

hey, i need to use grep to search a bunch of header files inside a directory to return which file i can find the function i'm searching for in. how do i use wild cards to search through the files? i can only figure out how to search inside the directory, not inside the files that are in the... (4 Replies)
Discussion started by: kylethesir
4 Replies

4. Shell Programming and Scripting

Searching for a string in .PDF files inside .RAR & .ZIP archives.

Hi, I have got a large number of .PDF files that are archived in .RAR & ZIP files in various directories and I would like to search for strings inside the PDF files. I would think you would need something that can recursively read directories, extract the .RAR/.ZIP file in memory, read the... (3 Replies)
Discussion started by: lewk
3 Replies

5. Shell Programming and Scripting

Help in searching a particular string in a file name (not inside the file contents)

Dear Unix Gurus, I am new to shell scripting and in the process of learing. I am trying to find whether a file name has today's date in MMDDYYYY format. I am using the following code and it doesn't seem like working. #!/usr/bin/ksh today=$(date '+%m%d%Y') echo today: $today file=`find... (4 Replies)
Discussion started by: shankar1dada
4 Replies

6. Shell Programming and Scripting

searching a file with a specified text without using conventional file searching commands

without using conventional file searching commands like find etc, is it possible to locate a file if i just know that the file that i'm searching for contains a particular text like "Hello world" or something? (5 Replies)
Discussion started by: arindamlive
5 Replies

7. Shell Programming and Scripting

Searching for unknown date inside the file and replace to new date

Hello, Iam a newbies to Shell scripting. Iam trying to replace the date inside the file to new date. is there anyway that we can just use the pattern to search as "..." I have many files want to replace with the same date, and each file contains different date. Thanks for your help. ... (2 Replies)
Discussion started by: Daro
2 Replies

8. Shell Programming and Scripting

Not able to gunzip a .gz file, in ksh

i am working on unix - ksh trying to unzip a .gz file and when i executed the below, in my command prompt in ksh gunzip abc.gz it was throwing the message below: gunzip: abc.gz: unexpected end of file - pls advise what is the reason for it..i am pretty sure the .gz file had no issues. (3 Replies)
Discussion started by: billpeter3010
3 Replies

9. Shell Programming and Scripting

Gunzip a file in UNIX

hi All, i have a file called rsync-3.0.9.tar.gz, i have to unzip and then uncompress it. but at first while i am trying to unzip this file, it is giving me following error: -rw-r--r-- 1 bravodba bravodba 7278458 Aug 19 08:26 rsync-3.0.9.tar.gz bash-3.2$ unzip rsync-3.0.9.tar.gz Archive: ... (12 Replies)
Discussion started by: lovelysethii
12 Replies

10. Shell Programming and Scripting

Searching a file inside a .tar.gz file by date

Hi, I would like to ask if there is a way to search for a file inside a .tar.gz file without extracting it? If there is, is there a way to search for that file by date? Thanks! (4 Replies)
Discussion started by: erin00
4 Replies
ASTRIBANK_TOOL(8)														 ASTRIBANK_TOOL(8)

NAME
astribank_tool - Xorcom Astribank (xpp) control tool SYNOPSIS
astribank_tool [ options ] [ operation... ] -D device-path astribank_tool [-h] DESCRIPTION
astribank_tool is a tool to control the USB-level functionality of an Astribank. The tool operates on a single Astribank at a time (given as parameter to the -D command line option). OPTIONS
-D device-path Required. The device to read from/write to. This is bus_num/device_num, where bus_num and device_num are the first two numbers in the output of lsusb(8) or dahdi_hardware(8). On older versions of this toolyou needed a complete path to the device, which would be /dev/bus/usb/bus_num/device_num, or /proc/bus/usb/bus_num/device_num. -p num Set the TwinStar port number. Either 0 or 1. (TODO: explain). -r type Reset the Astribank and renumerate its USB connection to power on product ID. Tyep can be: half or full. (TODO: explain those). -w 0|1 Enable (1) or disable (0) the TwinStar watchdog. When enabled, the Astribank will jump to the second port if this system is "not working" and the system on the second port is available. -Q Query astribank properties via MPP protocol. -n Renumerate the Astribank product number (e.g: from 1161 to 1162). -v Increase verbosity. May be used multiple times. -d mask Set debug mask to mask. Default is 0, 0xFF is "everything". -h Displays usage message. SEE ALSO
fxload(8), lsusb(8), astribank_hexload(8) AUTHOR
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> . Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. 29 March 2009 ASTRIBANK_TOOL(8)
All times are GMT -4. The time now is 02:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy