03-29-2012
it doesnt work at all , it just output the line containing mue..
I also want to keep the format same and inplace editing.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I appreciate the enormous amount of knowledge that flows in this forum.
I am an average UNIX user. I have many files with lines like the below. I have separated each line with space for ease of reading. I need to replace the first occurance of "/00" with null on those lines that have... (6 Replies)
Discussion started by: Nanu_Manju
6 Replies
2. Shell Programming and Scripting
Can someone tell me how I can do this?
e.g:
Say file1.txt contains:
today is monday
the 22 of
NOVEMBER
2010
and file2.txt contains:
the
11th
month
of
How do i replace the word NOVEMBER with (5 Replies)
Discussion started by: tuathan
5 Replies
3. Shell Programming and Scripting
Need help with either sed or awk to acheive the following
file1
-----
In the amazon forest
The bats eat all the time...
mon tue wed they would eat berries
In the tropical forest
The bats eat all the time...
on wed bats eat nuts
In the rain forest
The bats eat all the time...
on... (2 Replies)
Discussion started by: jville
2 Replies
4. Shell Programming and Scripting
I have a file
DS1
DDS
DS
I want to replace only "DS" to "DSmail.blah.com" in a lot of files. I tried
sed 's/DS/DSmail.blah.com' but it changes all the lines .
thanks in advance (2 Replies)
Discussion started by: gubbu
2 Replies
5. Shell Programming and Scripting
hi experts,
i would like to do some html-file replacements and encounter the following problem: after cleaning up the file a bit i'd like to replace a regex with a reference and the content of another line. example:
/<title>\(*\) - Wikipedia<\/title>/
should be replaced by \1 (the title... (2 Replies)
Discussion started by: chrisnie
2 Replies
6. Shell Programming and Scripting
I have an input like following.
*DEFINE_CURVE_TITLE
Force for tool binder
$# lcid sidr sfa sfo offa offo dattyp
3 0 1 .000000 125.00000 0.000 0.000 0
$# a1 ... (5 Replies)
Discussion started by: hamnsan
5 Replies
7. Shell Programming and Scripting
Hi experts,
In my text file I have the following alot of lines like below.
input.k is as follows.
2684717 -194.7050476 64.2345581 150.6500092 0 0
2684718 -213.1575623 62.7032242 150.6500092 0 0
*INCLUDE
$# filename... (3 Replies)
Discussion started by: hamnsan
3 Replies
8. Shell Programming and Scripting
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
Discussion started by: vivek d r
10 Replies
9. Shell Programming and Scripting
All, I appreciate any help you can offer here as this is well beyond my grasp of awk/sed...
I have an input file similar to:
&LOG
&LOG Part: "@DB/TC10000021855/--F"
&LOG
&LOG
&LOG Part: "@DB/TC10000021852/--F"
&LOG Cloning_Action: RETAIN
&LOG Part: "@DB/TCCP000010713/--A"
&LOG
&LOG... (5 Replies)
Discussion started by: KarmaPoliceT2
5 Replies
10. Shell Programming and Scripting
Sorry for the long/weird title but I'm stuck on a problem I have. I have this XML file:
</member>
<member>
<name>TransactionID</name>
<value><string>123456789123456</string></value>
</member>
<member>
<name>Number</name>
... (9 Replies)
Discussion started by: cozzin
9 Replies
LEARN ABOUT SUSE
iconvert
ICONVERT(1) General Commands Manual ICONVERT(1)
NAME
iconvert - copy images with format conversions and other alterations
SYNOPSIS
iconvert [options] inputfile outputfile
iconvert [options] --inplace files...
DESCRIPTION
The iconvert program will read an image (from any file format for which an ImageInput plugin can be found) and then write the image to a
new file (in any format for which an ImageOutput plugin can be found). In the process, iconvert can optionally change the file format or
data format (for example, converting floating-point data to 8-bit integers), apply gamma correction, switch between tiled and scanline ori-
entation, or alter or add certain metadata to the image.
The iconvert utility is invoked as follows:
iconvert [options] input output
Where input and output name the input image and desired output filename. The image files may be of any format recognized by OpenImageIO
(i.e., for which ImageInput plugins are available). The file format of the output image will be inferred from the file extension of the
output filename (e.g., "foo.tif" will write a TIFF file).
Alternately, any number of files may be specified as follows:
iconvert [options] --inplace file1 file2...
When the --inplace option is used, any number of file names >= 1 may be specified, and the image conversion commands are applied to each
file in turn, with the output being saved under the original file name. This is useful for applying the same conversion to many files, or
simply if you want to replace the input with the output rather than create a new file with a different name.
For a complete description, see /usr/share/doc/libopenimageio-dev/openimageio.pdf.gz.
OPTIONS
--help Print help message
-v Verbose status messages
--threads %d
Number of threads (default 0 == #cores)
-d %s Set the output data format to one of:
uint8, sint8, uint10, uint12, uint16, sint16, half, float, double
-g %f Set gamma correction (default = 1)
--tile %d %d
Output as a tiled image
--scanline
Output as a scanline image
--compression %s
Set the compression method (default = same as input)
--quality %d
Set the compression quality, 1-100
--no-copy-image
Do not use ImageOutput copy_image functionality (dbg)
--adjust-time
Adjust file times to match DateTime metadata
--caption %s
Set caption (ImageDescription)
--keyword %s
Add a keyword
--clear-keywords
Clear keywords
--attrib %s %s
Set a string attribute (name, value)
--orientation %d
Set the orientation
--rotcw
Rotate 90 deg clockwise
--rotccw
Rotate 90 deg counter-clockwise
--rot180
Rotate 180 deg
--inplace
Do operations in place on images
--sRGB This file is in sRGB color space
--separate
Force planarconfig separate
--contig
Force planarconfig contig
--no-clobber
Do no overwrite existing files
SEE ALSO
idiff(1), igrep(1), iinfo(1), iprocess(1), iv(1), maketx(1), oiiotool(1).
AUTHOR
OpenImageIO was written by Larry Gritz and the other authors and contributors.
This manual page was written by IRIE Shinsuke <irieshinsuke@yahoo.co.jp>, for the Debian project (and may be used by others).
May 19, 2012 ICONVERT(1)