I'm trying to do a script that will look for a log file if it is already there change the name to another name.
I.E
if log.0 is there
rename to log.1
rename log.1 to log.2
rename log.2 to log.3 and so on.
Only thing is I got no idea where or what is the best command to use for this? ... (3 Replies)
hello i'm trying to figure out how to number a blank line. For instance this :
sed '/./=' file | sed '/./N; s/\n/ /'
gives me
1 aaaa
2 bbbbbb
4 cccccc
5 ffkkkfff
6 ffsdfdfs
I would like something like this:
1 aaaaa
2
3 bbbbbb
4
5 cccccc
And so... (6 Replies)
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Hello everyone,
I want get numbered lines from a file. and i can do it with: sed = file.txt | sed "/./N; s/\n/ /" | sed -n "5,7p"
but the output that i get is something similar to:
5 line5
6 line6
7 line7
and i want something like this (with 2points after the number):
5:... (6 Replies)
Hello All,
I backed up my RHEL 4 as an image.
Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4.
The messages that are shown when the system boots are something like-
" .....
EXT3-fs:... (2 Replies)
Friends, I am looking for a small script which generates HEX sequence. Input to the script is starting hex number - Group ID and number of members a group should have and total groups.
e.g: Here we are generating 2 groups with 4 Members each starting with hex 036A.
Output:
Group ID 036A,... (5 Replies)
Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Hi all,
I have a file like this
ID 3BP5L_HUMAN Reviewed; 393 AA.
AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3;
DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot.
DT 05-JUL-2004, sequence version 1.
DT 05-SEP-2012, entry version 71.
FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies
LEARN ABOUT PHP
ale
ALE(1)ALE(1)NAME
ale - a synthetic capture engine and renderer
SYNOPSIS
ale [OPTIONS] original-frame [supplemental-frames ...] output-file
ale [HELP OPTIONS]
ale --version
DESCRIPTION
ALE is a free software synthetic capture engine and renderer accepting, as input, a sequence of image frames, and producing, as output,
rendered images, registration data, and 3D models (currently experimental).
EXAMPLES
ale --hu
Print the help page on program usage.
ale 001.ppm 002.ppm 003.ppm out.ppm
Render output file out.ppm from inputs 001.ppm, 002.ppm, and 003.ppm.
ale --scale 2 001.ppm 002.ppm 003.ppm out.png
Render output file out.png at 2x scale.
ale --perturb-upper=0 --trans-load=a.t --projective frame*.png out.png
Render output file out.png from inputs frame*.png, using projective transformations as described in the file a.t.
ale --3dv 0 out.png --projective frame*.png null:
Render output file out.png from inputs frame*.png, using a 3D scene model to determine transformations.
ale --visp last:sinc*lanc:6 sf:0 out/ .jpg in/*.jpg null:
Render a video stream from files in/*.jpg to the directory out/, stabilizing to the first frame, with a lanczos-windowed sinc filter.
USAGE
ale is a wrapper script that calls the executable ale-bin after extracting exposure EXIF information from image files (when the exiftool
utility is available) and converting from raw formats (when the dcraw utility is available).
When ale-bin has been linked with ImageMagick, input and output files may be of any kind supported by ImageMagick. Otherwise, only PPM
files can be read and written by ale-bin.
OPTIONS
OPTIONS are summarized via built-in help pages (see HELP OPTIONS below). More detailed manuals describing options and internal algorithms
are available for certain versions of ALE. See SEE ALSO below for more details on other manuals.
HELP OPTIONS
A listing of available help options can be obtained by invoking ale --hu.
ENVIRONMENT
The wrapper script ale recognizes the following environment variables:
ALE_BIN
ALE executable to use.
DCRAW
dcraw raw extraction tool to use.
EXIF_UTILITY
EXIF extraction utility to use.
ALE_COUNT_THREADS
Displays statistics on thread counts when set to a non-zero value.
PAGER
Text pager to use (e.g., for displaying help pages).
SEE ALSO
More detailed manuals for certain versions of ALE are distributed with source packages, and may also be available from:
http://auricle.dyndns.org/ALE/manuals/
03/31/2009 ALE(1)