03-30-2012
The trouble with detecting holes in sequences is, how do you detect a hole at the beginning, or the end? Unless you really do know what files are supposed to be there, you're going to be reduced to guessing in some situations no matter what.
Will there ever be more than one sequence in this folder, or just the one?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Experts,
Have been seraching this forum from this morning for my query but dint find hence posting it her... Basically i have two input files BSS and MSS which has a unique string , hence i hav tried and seperated the text to compare frm both files .. Any my present input files look like... (6 Replies)
Discussion started by: shaliniyadav
6 Replies
2. Programming
Dear Perl's Users,
Could anyone help me how to solve my problem. I have data with details below.
TTY NAME SEQUENCES
U-0 UNIX 0
U-1 UNIX 1
U-2 UNIX 2 <-- From 2 jump to 5
U-5 UNIX 5
U-6 UNIX 6 <-- From 6 jump to 20
U-20 ... (2 Replies)
Discussion started by: askari
2 Replies
3. Shell Programming and Scripting
Dear Perl users,
I need your help to solve my problem below.
I want to print the sequence number without missing number within the range.
E.g. my sequence number :
1 2 3 4 5 6 7 8 11 12 13 14
my desired output:
1 -8 , 11-14
my code below but still problem with the result:
1 - 14
1 -... (2 Replies)
Discussion started by: mandai
2 Replies
4. Shell Programming and Scripting
Am using unix aix KSH...
I have the files called
MMRR0106.DAT
MMRR0206.DAT
MMRR0406.DAT
MMRR0506.DAT
MMRR0806.DAT
....
...
MMRR3006.DAT
MMRR0207.DAT
These files are in one dircetory /venky ?
I want the output like this ?
Missing files are :
MMRR0306.DAT
MMRR0606.DAT... (7 Replies)
Discussion started by: Venkatesh1
7 Replies
5. Shell Programming and Scripting
I want to listed files every hours and check the missing sequence
my file format is
CV.020220131430.txt
CV.020220131440.txt
CV.020220131450.txt
CV.ddmmyyhhm.txt
how to check if i have missing files in sequence ..
thanks (3 Replies)
Discussion started by: before4
3 Replies
6. Shell Programming and Scripting
I want to use case statement to find the range of missing sequence in my directory which it has some few ( dat & DAT ) files
my directory /home/arm/my_folder/20130428 contains :
f01_201304280000.DAT
f01_201304280001.DAT
f01_201304280003.DAT
f02_201304280000.dat
f02_201304280002.dat... (2 Replies)
Discussion started by: arm
2 Replies
7. Shell Programming and Scripting
Hi,
I need to find out the missing sequence from a list. However the issue is there is not a fixed start and end, it depends on the generation of files.
For eg, it might start with 4000 and end with 9000.
Based on this, I need a script which greps the start and end sequence from the... (3 Replies)
Discussion started by: danish0909
3 Replies
8. Shell Programming and Scripting
Hi,
I have a file which contains few columns and the first column has the file names, and I would like to identify the missing file sequence number form the file and would copy to another file. My files has data in below format.
APKRISPSIN320131231201319_0983,1,54,125,... (5 Replies)
Discussion started by: rramkrishnas
5 Replies
9. Shell Programming and Scripting
Dear all
i am having file with max 24 entries. i want to find which sequence is missing
file is like this
df00231587.dat
df01231587.dat
df03231587.dat
df05231587.dat
.
.
.
df23231587.dat
the changing seq is 00-23,so i would like to find out which seq is missing like in above... (13 Replies)
Discussion started by: sagar_1986
13 Replies
10. Shell Programming and Scripting
Hi All,
I have a requirement that i need to list only the missing sequences with a unix script.
For Example:
Input:
FILE_001.txt
FILE_002.txt
FILE_005.txt
FILE_006.txt
FILE_008.txt
FILE_009.txt
FILE_010.txt
FILE_014.txt
Output:
FILE_003.txt
FILE_004.txt
FILE_007.txt
FILE_011.txt... (5 Replies)
Discussion started by: Arun1992
5 Replies
LEARN ABOUT DEBIAN
ppmfade
PPMFADE(1) General Commands Manual PPMFADE(1)
NAME
ppmfade - generate a transition between two image files using special effects.
SYNOPSIS
ppmfade [ -f first.ppm ] [ -l last.ppm ] [ -mix|-spread|-shift|-relief|-oil|-edge|-bentley|-block ] [ -base name ]
DESCRIPTION
This program generates a transition between either two input images or between one input image and black. You can use the 30 intermediate
images generated to show a smooth transition between segments of a movie. The input and output images are in the Portable Pixmap (PPM)
format. If you specify both input images, they should both be the same size. If you want to fade from black to an image, specify only the
last image. If you want to fade from an image to black, specify only the first image. ppmfade names the resulting image files base.nnnn
.ppm, where nnnn is a number varying between 0001 and 0030 and base is what you specify with via the -base option (default fade).
Another way to convert by steps from one image to another is morphing. You can use xmorph to do that.
OPTIONS
-f first.ppm
This is the image file (PPM format) to be used at the beginning of the transition. If not specified, the fade will start from
black.
-l last.ppm
This is the image file (PPM format) to be used at the ending of the transition. If not specified, the fade will end with black.
-mix The two images are superimposed with the brightness of the first image decreasing from full to none and the brightness of the final
image increasing from none to full. The transition is quadratic in brightness with faster transition in the beginning and slower at
the end.
-spread
The pixels in the first image will be moved (spread) further and further from their original location and then moved into the proper
location in the final image. This is the default transition.
-shift The pixels in the first image will be shifted further and further horizontally from their original location and then moved into the
proper location in the final image.
-relief
The first image is faded to a Laplacian relief filtered version of the first image. This is then faded to a Laplacian relief fil-
tered version of the second image and finally faded to the final image.
-oil The first image is faded to an "oil transfer" version of the first image. This is then faded to an "oil transfer" version of the
second image and finally faded to the final image.
-edge The first image is faded to an edge detected version of the first image. This is then faded to an edge detected version of the sec-
ond image and finally faded to the final image.
-bentley
The first image is faded to a "Bentley Effect" version of the first image. This is then faded to a "Bentley Effect" version of the
second image and finally faded to the final image.
-block The first image is defocused to small blocks. The small blocks are converted to match a defocused version of the last image. The
block version of the last image is then focused to the final image.
-basename
This forms part of the output filenames, as described above.
EXAMPLES
ppmfade -f teapot.ppm -l pyr.ppm
Fade from teapot.ppm to pyr.ppm generating fade.0001.ppm to fade.0030.ppm using the "spread" transition.
ppmfade -l teapot.ppm
Fade from black to teapot.ppm generating fade.0001.ppm to fade.0030.ppm.
ppmfade -f teapot.ppm -base end
Fade from teapot.ppm to black generating end.0001.ppm to end.0030.ppm.
SEE ALSO
tontsc(1), sgifade(1), smart_vfr(1), xmorph(1), ppm(5),
AUTHOR
Wesley C. Barris (wesb@msc.edu)
Army High Performance Computing Research Center (AHPCRC)
Minnesota Supercomputer Center, Inc.
1 April 1, 2000 PPMFADE(1)