Hi Guys,
I am trying to write a perl script to search a string "Name" in the file "FILE" and also want to create a new file and push the searched string Name line along with 10 lines following the same.
can anyone of you please let me know how to go about it ? (8 Replies)
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)
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)
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
Hi,
Need some help...
I want to execute sequence commands, like below
test1.sh
test2.sh
...etc
test1.sh file will generate log file, we need to search for 'complete' string on test1.sh file, once that condition success and then it should go to test2.sh file, each .sh scripts will take... (5 Replies)
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB and add/replace... (1 Reply)
Dear All
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB... (5 Replies)
I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file.
Please use CODE tags as... (7 Replies)
I have files named with different prefixes. From each I want to extract the first line containing a specific string, and then print that line along with the prefix.
I've tried to do this with a while loop, but instead of printing the prefix I print the first line of the file twice.
Files:... (3 Replies)
I have a file comp.pkglist which mention package version and release . In 'version change' and 'release change' line there are two versions 'old' and 'new' Version Change: --> Release Change: -->
cat comp.pkglist
Package list: nss-util-devel-3.28.4-1.el6_9.x86_64
Version Change: 3.28.4 -->... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
LEARN ABOUT DEBIAN
linkicc
LINKICC(1) General Commands Manual LINKICC(1)NAME
linkicc - little cms device link generator.
SYNOPSIS
linkicc [options] <profiles>
DESCRIPTION
lcms is a standalone CMM engine, which deals with the color management. It implements a fast transformation between ICC profiles. linkicc
is little cms device link generator.
Links two or more profiles into a single devicelink profile. Colorspaces must be paired except Lab/XYZ, that can be interchanged.
OPTIONS -8 Creates 8-bit devicelink.
-b Black point compensation.
-c <0,1,2,3>
Precission (0=LowRes, 1=Normal, 2=Hi-res). [defaults to 1]
-d description
Description text (quotes can be used).
-h <0,1,2,3>
Show summary of options and examples.
-i profile
Input profile (defaults to sRGB).
-k <0..400>
Ink-limiting in % (CMYK only)
-o profile
Output devicelink profile. [defaults to 'devicelink.icm']
-t <0,1,2,3>
Intent (0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute).
-x Creatively, guess deviceclass of resulting profile.
Built-in profiles:
*Lab -- D50-based CIEL*a*b (PCS)
*XYZ -- CIE XYZ (PCS)
*sRGB -- sRGB color space
*Gray22- Monochrome of Gamma 2.2
*Lin2222- CMYK linearization of gamma 2.2 on each channel
EXAMPLES
To create 'devicelink.icm' from a.icc to b.icc:
linkicc a.icc b.icc
To create 'out.icc' from sRGB to cmyk.icc:
linkicc -o out.icc *sRGB cmyk.icc
To create a sRGB input profile working in Lab:
linkicc -x -o sRGBLab.icc *sRGB *Lab
To create a XYZ -> sRGB output profile:
linkicc -x -o sRGBLab.icc *XYZ *sRGB
To create a abstract profile doing softproof for cmyk.icc:
linkicc -t1 -x -o softproof.icc *Lab cmyk.icc cmyk.icc *Lab
To create a 'grayer' sRGB input profile:
linkicc -x -o grayer.icc *sRGB gray.icc gray.icc *Lab
To embed ink limiting into a cmyk output profile:
linkicc -x -o cmyklimited.icc -k 250 cmyk.icc *Lab
NOTES
For suggestions, comments, bug reports etc. send mail to info@littlecms.com.
SEE ALSO jpgicc(1), tificc(1), psicc(1), transicc(1),
AUTHOR
This manual page was written by Shiju p. Nair <shiju.p@gmail.com>, for the Debian project.
September 30, 2004 LINKICC(1)