hey,
I want to concat whole bunch of strings together but somehow they don't turn out the way I want them to
a="HELLO "
b="WORLD "
c=$a$b
I was expecting c to be "HELLO WORLD " but it... (1 Reply)
hi
I have a file, I need to concatenate depening on the no of columns i need to concatenate.
for example i need to concatenate field1,filed34,field2( no of columns is not always 3, it can be any number of fields)
concat.ksh field1 field34 field2
how to achieve this, is there any argv ,argc... (10 Replies)
Hi All
this may be somewhere in internet , but couldnt find the it.
i have file as
abc01
2010-07-01 12:45:24
2010-07-01 12:54:35
abc02
2010-07-01 12:59:24
2010-07-01 01:05:13
abc03
.
.
.
the output using awk should look like this
abc01|2010-07-01 12:45:24|2010-07-01 12:54:35... (3 Replies)
Hello Unix gurus,
how to concat 3 files content side by side .
i have 3 files
more report1.txt
select *from tab1 A JOIN tab1 B ON
more report2.txt
A.PK1=B.PK1 where
more report3.txt
A.AAA <> B.AAA or
A.BBB <> B.BBB or
A.CCC<> B.CCCC or
..
..
..
A.ZZZ <> B.ZZZ;
if i concatinate... (3 Replies)
Hi Folks
The below is code is giving me value 30.
cal | sed '/^$/d' | tail -1 | awk '{printf $NF-1}'
Actually the text is like below.
echo "you should reply on 30-Jan-2013 evening EST.
Here how should i con-cat above logic in that text? (1 Reply)
Hi,
I need help to combine the first 7 character of firstname if it is longer than 7and combine with the first character of lastname.
ex: username lastname => usernaml
user lastname => userl
Thanks in advance. (10 Replies)
All,
I have 2 files A and B with some data. Now i want to concat data from both the files in to 3rd file.Please help me with a single command line.
A--123456789
B--jlsjdfkajsjas
output file C should be 123456789,jlsjdfkajsjas (2 Replies)
Discussion started by: kiranparsha
2 Replies
LEARN ABOUT OSX
tiffutil
TIFFUTIL(1) BSD General Commands Manual TIFFUTIL(1)NAME
tiffutil - manipulates tiff files
SYNOPSIS
tiffutil <option> [<arguments>] [-out <outfile>]
DESCRIPTION
tiffutil lets you manipulate TIFF files. The list of options (also available by running the program without any options) follows:
tiffutil -none infile [-out outfile]
-lzw infile [-out outfile]
-packbits infile [-out outfile]
-cat infile1 [infile2 ...] [-out outfile]
-catnosizecheck infile1 [infile2 ...] [-out outfile]
-cathidpicheck infile1 [infile2 ...] [-out outfile]
-extract num infile [-out outfile]
-info infile
-verboseinfo infile
-dump infile
-none, -lzw, and -packbits options specify the compression format to be applied to the images in the TIFF file. -none specifies no compres-
sion; -packbits specifies PackBits compression; -lzw specifies standard Lempel-Ziv & Welch compression (no prediction scheme).
-cat allows combining multiple TIFF files into one. The images are copied without any change in tag values. If the real sizes (pixel size
divided by dpi) of the images being combined are not the same, a warning will be generated. This makes sure that NSImage can successfully
choose the right size image out of the generated TIFF file. Use -catnosizecheck to bypass the size check.
-cathidpicheck can be used to write an output file conforming to Apple's guidelines for resolution independent bitmap images, and will gener-
ate warnings if the supplied images do not have the recommended size relationship. For best results, ensure that the larger file has a file-
name of the form <basename>@2x.png.
-extract allows extracting an individual image from a TIFF file; specify num = 0 for the first image in the file.
-info prints information about TIFF images. -verboseinfo is the same, except most of the tables are displayed in full. -dump simply lists all
of the tags in the file without trying to interpret them; it is handy when trying to figure out why a TIFF file won't load or display prop-
erly.
For options which write images out, the output goes to "out.tiff" unless an output file name is specified after a -out keyword. This keyword
and the file must be the last items on the command line. -info, -verboseinfo, and -dump write their output to the standard output.
If there are multiple images in a TIFF file the specified operation will be performed on all of them.
SECURITY NOTE: This version of tiffutil SHOULD NOT be used with untrusted files.
CREDITS
Parts of tiffutil were based on the freely distributable "tiffcp" and "tiffinfo" programs written by Sam Leffler and made available with v3.0
of his excellent TIFF library. The TIFF library and the tiffcp and tiffinfo programs are:
Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
Copyright (c) 1991, 1992 Silicon Graphics, Inc.
Mac OS X September 2, 2010 Mac OS X