You should have gotten several errors when trying to run your code. Here it is fixed:
The lines in red I am not sure what you are trying to do. BUt perl has no substring() function or "break" command. Maybe you mean to use substr() and "last". If you want to remove the underscore from 169_008 just use tr///.
Hi all!
I am relatively new to UNIX staff, and I have come across a problem:
I have a big directory, which contains 100 smaller ones. Each of the 100 contains a file ending in .txt , so there are 100 files ending in .txt
I want to split each of the 100 files in smaller ones, which will contain... (4 Replies)
$mystring = "name:blk:house::";
print "$mystring\n";
@s_format = split(/:/, $mystring);
for ($i=0; $i <= $#s_format; $i++) {
print "index is $i,field is $s_format";
print "\n";
}
$size = $#s_format + 1;
print "total size of array is $size\n";
i am expecting my size to be 5, why is it... (5 Replies)
Hi! I'm doing bash shell scripting and would like to know if bash had something similar to perl's split function? Ultimately, I want to split two strings (delimeter = '.') and compare each of their values. Thus, I figured putting them in an array would be easiest.
So i.e.:
String 1:... (5 Replies)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (0 Replies)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
Hi,
Below is an example of a record I have, which I wish to split using the perl's split function and load it into an array. I am having tough time figuring out the exact reg-ex to perform the split.
Given record:
"a","xyz",0,2,48,"abcd","lmno,pqrR, stv",300,"abc",20,
The delimiter to... (4 Replies)
my @d =split('\|', $_);
west|ACH|3|Y|LuV|N||N||
Qt|UWST|57|Y|LSV|Y|Bng|N|KT|
It Returns d as 8 for First Line, and 9 as for Second Line . I want to Process Both the Files, How to Handle It. (3 Replies)
Hi all,
I have a csv file that appears as follows:
,2013/03/26,2012/12/26,4,1,"2017/09/26,5.75%","2017/09/26,1,2018/09/26,1,2019/09/26,1,2020/09/26,1,2021/09/26,1",,,2012/12/26,now when i use the split function like this:
my @f = split/,/; the split function will split the data that is... (2 Replies)
Discussion started by: WongSifu
2 Replies
LEARN ABOUT DEBIAN
tifficc
TIFFICC(1) General Commands Manual TIFFICC(1)NAME
tifficc - little cms ICC profile applier for TIFF.
SYNOPSIS
tifficc [options] input.tif output.tif
DESCRIPTION
lcms is a standalone CMM engine, which deals with the color management. It implements a fast transformation between ICC profiles. tifficc
is little cms ICC profile applier for TIFF.
OPTIONS -a Handle channels > 4 as alpha.
-b Black point compensation.
-c <0,1,2,3>
Precalculates transform. (0=Off, 1=Normal, 2=Hi-res, 3=LoRes) [defaults to 1]
-e Embed destination profile.
-g Marks out-of-gamut colors on softproof.
-h <0,1,2>
Show summary of options and examples.
-i profile
Input profile (defaults to sRGB).
-k <0..400>
Ink-limiting in % (CMYK only).
-l Transform by device-link profile.
-m <0,1,2,3>
SoftProof intent.
-n Ignore embedded profile on input.
-p profile
Soft proof profile.
-o profile
Output profile (defaults to sRGB).
-q <0..100>
Output JPEG quality.
-t <0,1,2,3>
Intent (0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute).
-v Verbose.
-w Wide output (generates 16 bps tiff).
You can also use '*Lab' and '*XYZ' as predefined, built-in profiles for CIE L*a*b* and XYZ color spaces.
EXAMPLES
To color correct from scanner to sRGB:
tifficc -iscanner.icm in.tif out.tif
To convert from monitor1 to monitor2:
tifficc -imon1.icm -omon2.icm in.tif out.tif
To make a CMYK separation:
tifficc -oprinter.icm inrgb.tif outcmyk.tif
To recover sRGB from a CMYK separation:
tifficc -iprinter.icm incmyk.tif outrgb.tif
To convert from CIELab TIFF to sRGB
tifficc -iTiffLab8Spac.icm in.tif out.tif
NOTES
For suggestions, comments, bug reports etc. send mail to info@littlecms.com.
SEE ALSO tiffdiff(1), jpegicc(1), icc2ps(1), icclink(1), icctrans(1), wtpt(1)AUTHOR
This manual page was written by Shiju p. Nair <shiju.p@gmail.com>, for the Debian project.
September 30, 2004 TIFFICC(1)