I am trying to merge two large file horizontally using paste command. Every thing is working fine except for time. Its taking lot of time.
Is there any effiecient way of doing the same thing or is there anyway by which I can improve its perfomance programatically?
Thanks,
Yeheya (1 Reply)
This is likely to be a dumb one.
How can I use sed to substitute string occurances having it read from an input file and write to this very same file ?
I have a file with lots of occurances of '2006', I want to change it to '2007', but I'd like these changes to be saved on the input file.
... (5 Replies)
Hi Every body,
I have file which has enttries, with each 5 entries as a set of entries, I would like to read the file (line by line) and print five entries of a set vertically, the next entry should come in the next line.
Example:
cat sample_file
I am a
Unix Adminsitrator
new to shell... (6 Replies)
Hi,
This is the first time playing around with perl and need some help.
Assuming if i have a line of text that looks like this:
Date/Time=Nov 18 17:12:11;Device Name=192.168.1.1;Device IP=192.168.1.1;Device Class=IDS;Source IP=155.212.212.111;Source Name=UNKNOWN;Source Port=1679... (3 Replies)
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Hi All,
I am having an XML tag like:
<detail sim_ser_no_1="898407109001000090"
imsi_1="452070001000090">
<security>ADM1=????</security>
<security>PIN1=????</security>
<security>PIN2=????</security>
... (2 Replies)
Hi
What is the syntax for if statement using && and || operator?
if && ] ||
here its giving me an error to this if statement
any suggestion?? (2 Replies)
I have got an Perl array like:
@array = (1,2,3,4,5,6,1,2,3,4,1,2,1,2,3,4,5,6,7,8,9...............)
This numeric sequence will be always sequentially increasing, unless it encounters, The beginning of the new sequentially increasing numeric sequence.
SO in this array we get sequentially... (5 Replies)
I have 1 file that has elements as follows. Also the CVR(10) and the word "SAUCE" only appear once in the file so maybe a grep command would work?
file1
CVR( 9) = 0.385E+05, ! VEHICLE
CVR(10) = 0.246E+05, ! SAUCE
CVR(11) = 0.162E+03, ! VEHICLE
I need to extract the... (6 Replies)
I am a scripting noob, and having much trouble getting this script to run correctly. Upon start it should read the home directory and sort the files into a text file. Then have user enter a user name and insert it into line 1 of the same text file. Then have the date insert into the second line of... (8 Replies)
Discussion started by: bbaumg02
8 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