Im trying to extract a specific pattern of data from a log file and store it in a other file, Im executing the below command in various files and storing it in a single file. I data that Im storing needs to be arranged based on a date and timestamp. Please assist, how to achieve this. Thanks in Advance
Above is the command that Im using to extract the data. There are various log files available and the information that I want in the output.txt file should be arranged based on date & time. Thanks
Last edited by Yogesh Sawant; 06-01-2010 at 10:15 AM..
Reason: added code tags
Hi Gurus,
I've been having some problem in extracting the log data based on the current date and month.
As shown in the sample data below, how to extract the log info for Aug 11?
Sample data:
root pts/ta userpc Wed Aug 11 09:46 - 20:21 (10:35)
root pts/ta userpc... (13 Replies)
Hi Gurus,
I'm using HP-UX B.11.23 operating system.
I've been trying to extract this log info based on the current date and month, but was having some issues as the date column which on the 4th column has a comma and the 5th column has a dot tied to it.
Here is the output from my shut... (5 Replies)
I have a huge file (about 2 millions records) contains data separated by “,” (comma). As part of the requirement, I can't change the format. The objective is to remove some of the records with the following condition. If the 23rd field on each line start with 302 , I need to remove that from the... (4 Replies)
Hi All,
I would like to ask help on how can i achieve below output.
Inputfile:
Oct11,apa1-daily,01:25:01
Oct11,apa2-daily,01:45:23
Oct12,apa1-daily,02:30:11
Oct12,apa2-daily,01:55:01
Oct13,apa1-off,01:43:34
Oct13,apa2-off,01:22:04
Desired output:
Clients ... (3 Replies)
The file has record length 200. And i have 100 search strings which are ten digits of character from 1 to 10 characters all of them are unique, they need to searched in a file. Please help me to pull the records based on position (say from 1-10).
test data
1FAHP2DW0BG115206RASHEED ... (6 Replies)
I have a csv file that I need to extract some data from depending on another field after reading info from another text file.
The text file would say have 592560 in it.
The csv file may have some data like so
Field 1 Field2 Field3 Field4 Field5 Field6
20009756 1 ... (9 Replies)
i want extract where the 2nd column having "3" or "7".
Based on the forums tried like this but it is not working
awk -F"," '$2=3;$2=7 {print}' filename
Source
"1","2","3","4"
"1","3","3","4"
"1","7","3","4"
"1","8","3","4"
"1","2","3","4"
"1","2","3","4"
Output :
... (5 Replies)
Hi Guys,
I am new to shell script.I need your help to write a shell script.
I need to write a shell script to extract data from a .csv file where columns are ',' separated.
The file has 5 columns having values say column 1,column 2.....column 5 as below along with their valuesm.... (1 Reply)
Discussion started by: Vivekit82
1 Replies
LEARN ABOUT DEBIAN
unshield
UNSHIELD(1) http://www.synce.org UNSHIELD(1)NAME
unshield - extract CAB files from an InstallShield installer archive
SYNOPSIS
unshield [-c COMPONENT] [-d DIRECTORY] [-D LEVEL] [-g GROUP] [-h] [-j] [-L] [-n] [-o] [-O] [-r] [-v] [-V] c|g|l|t|x CABFILE
DESCRIPTION
Unshield extracts CAB files from InstallShield installers, used to install software on Microsoft Windows based machines.
OPTIONS -c COMPONENT
Only list/extract this component
-d DIRECTORY
Extract files to DIRECTORY
-D LEVEL
Set debug log level 0 - No logging (default) 1 - Errors only 2 - Errors and warnings 3 - Errors, warnings and debug messages
-g GROUP
Only list/extract this file group
-h Show help message
-j Junk paths (do not make directories)
-L Make file and directory names lowercase
-n Never overwrite files
-o Always overwrite files
-O Use old compression
-r Save raw data (do not decompress)
-v Be verbose
-V Print version information
Commands:
c List components
g List file groups
l List files
t Test files
x Extract files
Other:
CABFILE
The InstallShield installer file to act upon
AUTHOR
This manual page was adapted by Mark Ellis <mark@mpellis.org.uk>, from the skeleton generated by help2man
The SynCE project July 2004 UNSHIELD(1)