hi...... thanks for allowing me to start a discussion
i am collecting usb usage details of all users and convert it into csv files so that i can export it into some database..
the input text file is as follows:-
Code:
USB History Dump
by nabiy (c)2008
(1) --- Kingston DataTraveler 130 USB Device
instanceID: 0018F3D974B4A9C0E1760896&0
ParentIdPrefix: 7&b62e00e&2
Last Mounted As: \DosDevices\I:
Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0033
Disk Stamp: 09/07/2010 15:07
Volume Stamp: 09/07/2010 15:07
(2) --- Kingston DataTraveler 2.0 USB Device
instanceID: 001D0F1E35B25B8C1201011B&0
ParentIdPrefix: 7&1f5848f3&0
Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0035
Disk Stamp: 09/06/2010 15:18
Volume Stamp: 09/06/2010 15:18
(3) --- Maxtor OneTouch III USB Device
instanceID: 044303E5&0
ParentIdPrefix:
Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0032
Disk Stamp: 09/10/2010 10:09
Volume Stamp: 03/12/2010 10:42
how can i parse this file so that i can get in following format
the output desirable is in csv format for database with some batch or awk script........
any suggestion in this regard is greatly appreciated
thanks in advance/.........
Last edited by Franklin52; 09-15-2010 at 02:53 AM..
Reason: Please use code tags!
Hi,
I have a file coming in xxx.txt(csv format) i do some work on it and i need to send out as a .xls format. Is there any way there is some code i can use in my script to convert this?
I'm struggling on this.
Thanks (11 Replies)
hi all,
i have a select query that gives me the output in the following way...
SYSTYPE
--------------------------------------------------------------------------------
Success Failures Total RFT
---------- ---------- ---------- ----------
TYP
1 0 ... (3 Replies)
Hi everyone, is there any way in perl using which we can print the selective words in bold when we write the output to a csv file?
Please find the example below
1. Filename: A
2. name age 12
3. city add 23
Line1 should only be bold. Outputs from other files being read in the... (2 Replies)
The 6th & 7th column of the text files represents date & time. I need this to be converted in julian format using command "date +%s -d <date>". I know the command, but dont know how to use it on the script
0 dbclstr-b IXT_Web Memphis_Prod_SQL_Full Memphis-Prod-SQL-Full-Application-Backup... (4 Replies)
Hi ,
I have a simple text file with contents as below:
12345678900 971,76 4234560890
22345678900 5971,72 5234560990
32345678900 71,12 6234560190
the new csv-file should be like:
Column1;Column2;Column3;Column4;Column5
123456;78900;971,76;423456;0890... (9 Replies)
I want to extract IP address, system ID and engine IDs of this file ( marked in red) and put in a csv. E.g.
1.1.1.1, SYSTEMID, 000012345678981123548912
I get these file by running an expect script from solaris.
Here is the text file output of my expect script.
working on 1.1.1.1
SNMP... (5 Replies)
Hello,
I was working with Machine learning and would like to apply my regression algorithms on binary classification datasets.
So I came across this adult dataset, LIBSVM Data: Classification (Binary Class)
It is a binary dataset, features have values only 1 and 0.
and I wanted to... (4 Replies)
Discussion started by: ajayram
4 Replies
LEARN ABOUT DEBIAN
device::usb::pcsensor::hidtemper::ntc::internal
Device::USB::PCSensor::HidTEMPer::NTC::Internal(3pm) User Contributed Perl Documentation Device::USB::PCSensor::HidTEMPer::NTC::Internal(3pm)
Device::USB::PCSensor::HidTEMPer::NTC::Internal - The HidTEMPerNTC internal sensor
VERSION
Version 0.02
SYNOPSIS
None
DESCRIPTION
This is the implementation of the HidTEMPerNTC internal sensor.
CONSTANTS
o MAX_TEMPERATURE
The highest temperature(120 degrees celsius) this sensor can detect.
o MIN_TEMPERATURE
The lowest temperature(-40 degrees celsius) this sensor can detect.
METHODS
o celsius()
Returns the current temperature from the device in celsius degrees.
INHERIT METHODS FROM
Device::USB::PCSensor::HidTEMPer::Sensor
DEPENDENCIES
This module internally includes and takes use of the following packages:
use Device::USB::PCSensor::HidTEMPer::Sensor;
This module uses the strict and warning pragmas.
BUGS
Please report any bugs or missing features using the CPAN RT tool.
FOR MORE INFORMATION
None
AUTHOR
Magnus Sulland < msulland@cpan.org >
ACKNOWLEDGEMENTS
This code is inspired by Relavak's source code and the comments found at: http://relavak.wordpress.com/2009/10/17/
COPYRIGHT & LICENSE
Copyright (c) 2010 Magnus Sulland
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-07-24 Device::USB::PCSensor::HidTEMPer::NTC::Internal(3pm)