Hello everyone!!!!! Need some help on inserting data in a file columnwise.
Example:
File1:
1|AAA|25|2
5|qqe|20|7
4|wer|31|81
I need to create a second file in which data can be inserted in a columnwise manner i.e.
File2:
AAA|25|1|2
qqe|20|5|7
wer|31|4|81
The order of columns in... (1 Reply)
Hello everyone!!!!! Need some help on inserting data in a file columnwise.
Example:
File1:
1|AAA|25|2
5|qqe|20|7
4|wer|31|81
I need to create a second file in which data can be inserted in a columnwise manner i.e.
File2:
AAA|25|1|2
qqe|20|5|7
wer|31|4|81
The order of columns in... (1 Reply)
Filename1.xml NO 2012-11-16 02:00:27 20121115/pathname/ asia
Filename1.rec YES 2012-11-16 01:20:24 20121115/pathname asia
FIleName2.xml YES 2012-11-16 01:20:25 20121115/pathaname asia
if the file content are... (6 Replies)
Hi All,
I want to trim each columns leading & trailing (like sql trim function) of a ',' separated file..
I've a file like this..
manab , c gi
lucky , home
babu , maa
I want the output as
manab,c gi
lucky,home
babu,maa
A one liner would be a great help. (2 Replies)
Hi all,
I want to compare two files with same number of rows and columns with records in same order.
Just want to highlight the differences in the column values if any.
file A
1,kolkata,19,ab
2,delhi,89,cd
3,bangalore,56,ef
file2:
1,kolkata,21,ab
2,mumbai,89,gh
3,bangalore,11,kl... (9 Replies)
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (4 Replies)
Hello Everyone,
I have a input file looks like
-0.005-0.004-0.003-0.002-0.00100.0010.0020.0030.0040.005My desired output should look like
-0.005
-0.004
-0.003
-0.002
-0.001
0
0.001
0.002
0.003
0.004
0.005I had some success in getting the desired output. But i face a problem when i... (15 Replies)
Hi Guys
I normally do thins with a Windows program but I am trying to rearrange a filename based on delimiters in Ubuntu.
Example
v017 __ Detective Academy Q #133 Murder in the Village Of Suspension Bridges &&& Part 9.cbz
=
Detective Academy Q v017 #133 Murder in the Village Of Suspension... (9 Replies)
Hello everybody,
I've got the following problem:
The data set I have is an ASCII file containing a header over 4 lines and the actual data comprised of dezimal numbers in a 1000x1000 grid (1000 lines and 1000 columns).
Since I want to plot the data in GMT I need to convert it into the... (3 Replies)
Discussion started by: Evilknievel
3 Replies
LEARN ABOUT MOJAVE
g3cat
g3cat(1) mgetty+sendfax manual g3cat(1)NAME
g3cat - concatenate multiple g3 documents
SYNOPSIS
g3cat [-l] [-a] g3-file1 ...
DESCRIPTION
g3cat concatenates g3 files. These can either be 'raw', that is, bitmaps packed according to the CCITT T.4 standard for one-dimensional
bitmap encoding, or 'digifax' files, created by GNU's GhostScript package with the digifax drivers. Its output is a concatenation of all
the input files, in raw G3 format, with two white lines in between.
If a - is given as input file, stdin is used.
If the input data is malformed, a warning is printed to stderr, and the output file will have a blank line at this place.
OPTIONS -l separate files with a one-pixel wide black line.
-h <blank lines>
specifies the number of blank lines g3cat should prepend to each page. Default is 0.
-L <lines>
limit lenght of output page to maximum <lines> lines.
SPECIAL-CASE OPTIONS-w <width>
specifies the desired page width in pixels per line. Default is 1728 PELs, and this is mandatory if you want to send the fax to a
standard fax machine. If one of the input files doesn't match this line width (for example because it was created by a broken G3
creator), a warning is printed, and the line width is transparently fixed.
-a byte-align the end-of-line codes (EOL) in the file. Every EOL will end at a byte boundary, that is, with a 01 byte.
-p <pad>
specifies a minimum number of bytes that each output line must be padded to. Padding is done with 0-bits before the EOL code.
-R suppress output of end-of-page code (RTC).
Example
The following example will put a header line on a given g3 page, 'page1' and put the result into 'page2':
echo '$header' | pbmtext | pbm2g3 | g3cat - page1 >page2
FILES --
BUGS
Hopefully none :-).
SEE ALSO g32pbm(1), sendfax(8), faxspool(1)AUTHORS
g3cat is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>
greenie 27 Oct 93 g3cat(1)