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, I have to change a tab delimited file to a fixed length file. For text fields I need to left justify and NULL fill to the right and for number fields I need to right justify and zero fill to the left. If there are spaces between words in a text field I need to keep them as spaces. I am using... (14 Replies)
hello!
I have a file with fixed record length...
format:
123445asdfg 4343777 sfgg
I wanna convert it to
123445,asdfg ,4343,777 ,sfgg
is there any way to do it?
sed/grep/awk??
at the moment I use sed -e 's_ \(\)_,\1_g'
but it works only if there are spaces between... (16 Replies)
Newbie
Looking for a script to convert my input file to delimited text file. Not familier with AWK or shell programing. Below is sample record in my input file and the expected output format. My OS is HPUX 11.23.
Thanks in advance for your assistance.
tbtbs
input file:... (12 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)
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)
Discussion started by: Devesh5683
5 Replies
LEARN ABOUT SUSE
rmligs
RMLIGS(1) User Manuals RMLIGS(1)NAME
rmligs - remove incorrectly used ligatures from German LaTeX documents
SYNOPSIS
rmligs [options] FILE(s) ...
DESCRIPTION
rmligs is a program for removing incorrectly used ligatures from LaTeX documents. This version is intended for German language texts only.
Words like `Auflage' e.g. will be changed to `Auf"|lage' which is typographically correct.
The wordlist data is based on the igerman98 dictionary.
The input data may be ISO-8859-1/15 or UTF-8 encoded text. Also the German LaTeX like encoding of umlauts ("a, "u etc.) is treated cor-
rectly.
OPTIONS --filter, -f
filter mode. This is useful for streaming.
--test, -t
test mode. This just shows what would be changed but nothing will be written (read-only). This does not make sense in filter mode.
--interactive, -i
prompt before applying changes
--quiet, -q
quiet operation
SEE ALSO
The German language README file from the documentation of this program,
Duden (the German's orthography bible),
nice and mostly older hand-set books
BUGS
There is no sanity checking of LaTeX files; rmligs will happily correct words in all files - even binaries! For safety reasons there is
always a .bak file created.
checking latin1 text in UTF-8 locales might throw out some error messages about malformed UTF-8 but that does not matter - the file is pro-
cessed correctly.
AUTHOR
Bjoern Jacke
Send mail to bjoern [at] j3e.de for bug reports and suggestions.
Linux November 2002 RMLIGS(1)