09-21-2012
That is some comic
Managed to compose a quarter-scale image of it, I think, but it was the .png equivalent of a zip-bomb, a 300K file which would cause things to run out of memory when they opened it. Trying a sixteenth-scale...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello,
I use AIX with ISM PILOT, I want to match something with a varible like this :
$variable = 10 #this variable is the number of the job
"$variable STARTED" # the pattern
how can use this variable to match it with the word STARTED
Tanks (0 Replies)
Discussion started by: barribar
0 Replies
2. Shell Programming and Scripting
Hi!
I wanted to use a while loop, like the one below, for checking words extracted by awk to terminate when a specific word appears. Unfortunately whenever I put my code inside the loop I get an error "Expression recursion level exceeded". What does it mean? What recursion? I don't have any... (4 Replies)
Discussion started by: machinogodzilla
4 Replies
3. Shell Programming and Scripting
I hope this is not a duplicate thread, but i didn't find anything similar...
I had this script:
filename1=/swkgr/bin/risk/GF2KGR/arch/GF2KGR_M_
filename2=/swkgr/bin/risk/GF2KGR/arch/GF2KGR_D_
day='date +%m%d'
echo $filename1$day
echo $filename2$day
and i want this output:
... (7 Replies)
Discussion started by: raffaelesergi
7 Replies
4. Shell Programming and Scripting
Hi,
i want to use regular expression in a for loop like this.
for var in "/Mar/2010"
do
echo "Usage for the date $var"
-----and want to grep $var partten from a file--------
done
and it is not working.
I am new to shell scripting, any one has any idea how to do it. (5 Replies)
Discussion started by: tarakant
5 Replies
5. Shell Programming and Scripting
hi,
i'm reading a file "LISTE_FILE" like :
#
$LOGCOM * 5
$PRCCOM * 10
and i want to use the file with "while" and having the fields splitted into new variables for treatment :
while read LINE
do
# Ignorer les commentaires un # en premiere position
if
then... (3 Replies)
Discussion started by: Nicol
3 Replies
6. Shell Programming and Scripting
eval echo \$tts_space_name$count
i m getting output of this stmnt as
'TBS_ADOX_EXTR3'
but,
I m not able to assign this value to a variable .
i tried
export j=`eval echo \$tts_space_name$count`
eval j= `eval echo \$tts_space_name$count`
and when i do echo $j ... i get o/p as 1 or 2... (1 Reply)
Discussion started by: Gl@)!aTor
1 Replies
7. Shell Programming and Scripting
Hello All,
Maybe I'm Missing something here but I have NOOO idea what the heck is going on with this....?
I have a Variable that contains a PATTERN of what I'm considering "Illegal Characters". So what I'm doing is looping
through a string containing some of these "Illegal Characters". Now... (5 Replies)
Discussion started by: mrm5102
5 Replies
8. Shell Programming and Scripting
Hi All,
I have a file which has hundred of records with fixed number of fields. In each record there is set of 8 characters which represent the duration of that activity. I want to sum up the duration present in all the records for a report. The problem is the duration changes per record so I... (5 Replies)
Discussion started by: danish0909
5 Replies
9. Shell Programming and Scripting
Hi
i tried to execute a below script but it is giving execution error
rec=ABC,1234,55.00
Colno=2
coldel=,
fd='"'$coldel'"'
fprint="'"'{print$'$colno'}'"'"
colsyn=`echo "echo "$rec "| awk -F"$fd $fprint`
echo column syntax is $colsyn
colrec=`colsyn`
echo column is $colrec (5 Replies)
Discussion started by: ragu.selvaraj
5 Replies
10. Shell Programming and Scripting
I'm trying to use a series of regular expressions as variables but can't get it to behave properly.
You can see below what I'm trying to do.
Here with lowercase a-z and the same with uppercase, numbers 0-9 and again with a set of special characters, without having to type out every single... (3 Replies)
Discussion started by: 3therk1ll
3 Replies
LEARN ABOUT MOJAVE
layerutil
layerutil(1) BSD General Commands Manual layerutil(1)
NAME
layerutil create compiled layered image stack
SYNOPSIS
layerutil [-Vlhogspf] inputfile
DESCRIPTION
Creates a compiled layered image stack (lcr) file from a layered input file source, such as an lsr or suitably structured Photoshop (psd)
file. If the psd file's basename ends with @Yx Y will be treated as the scale factor of the psd file. If gpu compression is not specified
then lossy compression is used.
OPTIONS
The following options are available:
-c Convert to lcr format.
-f s, --flattened-image
Saves the flattened image as a jpeg to the output path given by the -o flag. if the output filename doesn't end with .jpeg
or .jpg then the file extension that was given will be removed and jpeg will get added. If the file that gets written out
is a JPEG image, the resulting image will be compressed with the default compression options.
-g s, --gpu-compression=s
Sets program to use gpu optimized compression. You can choose either best or smallest. GPU Compression is only supported on
iOS 10.0/AppleTV 10.0 or greater.
-l n, --lossy-compression=n
Set the lossy compression factor used for image content to a value between 0 and 1.0, default is 0.75. The smaller the
value, the smaller the compressed file size. A value of 1.0 creates a lossless image.
-s n, --scale=v Used to specify the scale factor used in the generated lcr file. When used with a PSD file it indicates the scale factor of
the PSD file. When used with an LSR file indicates which scale factor of images should be kept. If scale is not specified 1
is assumed.
-p n, --display-gamut=v
v can be one of srgb/p3. Selecting p3 processes the image and if it contains wide gamut data will be treated as such.
-g s, --palette-image
Turn on palette image compression (Defaults to off).
-o, --output Output file name. If you are converting an input lsr/psd file then if no output file is given, the basename of the input
file is used as the output file name with an appended .lcr extension. unless you are
-h, --help Prints out usage information.
-V, --version Prints out version information.
Darwin November 13, 2017 Darwin