Is there a command that sets a variable length?
I have a input of a variable length field but my output for that field needs to be set to 32 char.
Is there such a command?
I am on a sun box running ksh
Thanks (2 Replies)
Hi, all.
I need to convert a file tab delimited/variable length file in AIX to a fixed lenght file delimited by spaces. This is the input file:
10200002<tab>US$ COM<tab>16/12/2008<tab>2,3775<tab>2,3783
19300978<tab>EURO<tab>16/12/2008<tab>3,28523<tab>3,28657
And this is the expected... (2 Replies)
Hi
I need to be search a file of fixed length records and when I hit a particular record that match a search string, substitute a known position field
In the example file below
FHEAD000000000120090806143011
THEAD0000000002Y0000000012 P00000000000000001234
TTAIL0000000003... (0 Replies)
Very, very new to unix scripting and have a unique situation. I have a file of records that contain 3 records types:
(H)eader Records
(D)etail Records
(T)railer Records
The Detail records are 82 bytes in length which is perfect. The Header and Trailer records sometimes are 82 bytes in... (3 Replies)
Hi,
Can anyone help with a effective solution ?
I need to change a variable length text field (between 1 - 18 characters) to a fixed length text of 18 characters with the unused portion, at the end, filled with spaces.
The text field is actually field 10 of a .csv file however I could cut... (7 Replies)
HPUX and posix shell
Hi all.
I have a record with fixed length fields....I would like to reorder the fields and preserver the fixed lengths....
cat test
4 960025460 Dept of Music
8 960025248 Dept of Music 12-08
cat... (3 Replies)
I am new to awk and writing a script using awk. I have file containing fixed length records, I wish to extract 2 substring(each substring is padded with zeros on left e.g 000000003623) and add each substring respectively for every record in the file to get total sum of respective substring for all... (5 Replies)
Hi Team,
I have a different length records in my text file.I would like to make all the records with same length. I want to check the maximum lenth and all other records make the same length
It's urgent request.
Thanks in Advance (2 Replies)
Hi Team,
I have an issue to split the file which is having special chracter(German Char) using awk command.
I have a different length records in a file. I am separating the files based on the length using awk command.
The command is working fine if the record is not having any... (7 Replies)
Discussion started by: Anthuvan
7 Replies
LEARN ABOUT LINUX
uslcom
USLCOM(4) BSD Kernel Interfaces Manual USLCOM(4)NAME
uslcom -- Silicon Laboratories CP2101/CP2102 based USB serial adapter
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device uslcom
device ucom
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
uslcom_load="YES"
DESCRIPTION
The uslcom driver supports Silicon Laboratories CP2101/CP2102 based serial adapters.
HARDWARE
The following devices should work with the uslcom driver:
o Argussoft ISP
o Baltech card reader
o Burnside Telecom Desktop Mobile
o chip45.com Crumb128 module
o Jablotron PC-60B
o Lipowsky Baby-JTAG
o Lipowsky Baby-LIN
o Lipowsky HARP-1
o Pololu USB to Serial
o Silicon Laboratories CP2101
o Silicon Laboratories CP2102
o Track Systems Traqmate
SEE ALSO tty(4), ucom(4), usb(4)HISTORY
The uslcom device driver first appeared in OpenBSD 4.0. The first FreeBSD release to include it was FreeBSD 7.1.
AUTHORS
The uslcom driver was written by Jonathan Gray <jsg@openbsd.org>.
CAVEATS
Setting hardware flow control is not currently supported.
Silicon Laboratories do not release any programming information on their products.
BSD May 31, 2007 BSD