Hi Guy's can someone help me in converting the following
I have a flat text file which has several thousand lines which I need to convert to a csv it's got a consistent format but basically want every time it hit's txt to create a new line with the subsequent lines comma delimited for example
... (6 Replies)
thanks for allowing me join your forum
i have an output of linux command "who"
which provides following details.....
CURRENT USER/ACCT INFO
17:31:36 up 4:49, 4 users, load average: 0.03, 0.04, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root :0 - 12:59 ?xdm? 4:54 0.02s /bin/sh /usr/bi... (1 Reply)
INput file attached in thread : Column widths at 24,73,82,87,121 characters (sed 's/./,/24;s/./,/73;s/./,/81;s/./,/87;s/./,/121;s/ *, */,/g' fixedinputfile >output.csv
). The client wants instead of hard coding the column widths as they are not fixed .he has given the hint stating that ( ... (3 Replies)
thanks for allowing me to join your forum
i have a html file with three columns ------------Last visit date , URL and link,,,,,,,, how can i convert the same into csv so that i can output into database... the mechine is linux...i made a little googling and got idea that there is ways for... (2 Replies)
I have a CSV file in the below format.
while generating CSV file from excel sheet , date in excel sheet(Format :Mon 8/28/2012) got converted into the below format with numbers 41148,41149 so on.
Could anyone please let me know how to the convert the numbers(41148,41149 so on.) to its actual... (2 Replies)
Hello,
I have a binary csv file that was created on 'Red Hat Enterprise Linux Server release 6.6'. Now we have transferred all files on Ubuntu 16.04.2 LTS/xenial
On opening the file in Ubuntu, there are special characters
... (8 Replies)
Discussion started by: nans
8 Replies
LEARN ABOUT HPUX
diskinfo
diskinfo(1M)diskinfo(1M)NAME
diskinfo - describe characteristics of a disk device
SYNOPSIS
character_devicefile
DESCRIPTION
The command determines whether the character special file named by character_devicefile is associated with a SCSI or floppy disk drive. If
so, summarizes the disk's characteristics.
The command displays information about the following characteristics of disk drives:
Vendor name Manufacturer of the drive (SCSI only)
Product ID Product identification number or ASCII name
Type Floppy or SCSI classification for the device
Disk Size of disk specified in bytes
Sector Specified as bytes per sector
Both the size of disk and bytes per sector represent formatted media.
Options
The command recognizes the following options:
Return the size of the disk in 1024-byte sectors.
Display a verbose summary of all of the information
available from the device. For floppy drives, this option has no effect.
SCSI disk devices return the following:
Vendor and product ID
Device type
Size (in bytes and in logical blocks)
Bytes per sector
Revision level
SCSI conformance level data
DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. However, one diagnostic message deserves further clarification. If the command
fails to access the lunpath corresponding to a given special file, it displays the following diagnostics data, which contains device iden-
tification and capability information:
device type 127 (unknown); device is inaccessible
iso ecma ansi rmb dtq resv rdf
WARNINGS
As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in particular, will respond to inquiries as if they were SCSI devices. There-
fore, the text "SCSI describe" in the output of the command does not definitively mean that the disk is in fact a SCSI drive (especially in
the case of CD-ROMs). Use to check which type of INTERFACE node, SCSI or IDE, the device's hardware path lies beneath, in order to defini-
tively determine a drive's interface.
DEPENDENCIES
General
The command supports floppy and HP SCSI disk devices.
SCSI Devices
The SCSI specification provides for a wide variety of device-dependent formats. For non-HP devices, may be unable to interpret all of the
data returned by the device. Refer to the drive operating manual accompanying the unit for more information.
AUTHOR
was developed by HP.
SEE ALSO ioscan(1M), lsdev(1M), disktab(4), disk(7).
diskinfo(1M)