Hi
I have got a log file which is like:
id status
---------------------
12345 status1.true
12345 status2.true
12345 status3.false
12345 status4.true
23452 status5.true
23452 status6.true
23452 status7.false
65243 ... (2 Replies)
everytime a new logfile get created at certain interval of time and i want a
simple shell script program which cat the lastest log file when manually excuted (1 Reply)
Have checked the forums and couldnt locate help on this.
I want to grep a log file for a pattern using a script - I need to grep the latest log file and not sure how I am able to ensure I am greping the latest log file.
Here is sample of log files for yestersday and I effectively need to grep... (10 Replies)
in the below .. i want to pick the latest logfile which is having JPS.PR inside..
that means i want particularly "spgport040408041223.log:@@@@@@@@ 04:13:09 Adding: JPS.PR."
which is latest among these..
is it possible to compare the current time with logfile time ?
reptm@xblr0758rop>... (4 Replies)
How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ?
Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Hi All,
Need a small help. I have a log file which keeps updating for every Minute with multiple number of lines. I just want to grep few properties which has latest Date and Time to it. How do i do it?
I wanted to grep a property by name "Reloading cache with a maximum of" from the... (4 Replies)
Hello All,
I have an awk script which parses my log file and prints number grepping from a specific line/pattern, now i have to come with a shell script to continue reading the log untill the job is completed, which i would know while reading session log untill process encounters a final... (1 Reply)
Hi there
I am trying to write a script where I will need to look for a specific word in the log file and I am aware this can be done by grep for example.
As there will be multiple entries for this I want to grep the last one to enter the log... how would I go about this - would I have to use... (5 Replies)
Hi,
I want to monitor a log file using tail -f command and search for a specific string on the most recent entry from the file. If the search string matches with the most recent or last line from the file, I want send an email to the people with the message.
tail -f service.log|tail -n 1
... (5 Replies)
Discussion started by: svajhala
5 Replies
LEARN ABOUT DEBIAN
imager::expr::assem
Imager::Expr::Assem(3pm) User Contributed Perl Documentation Imager::Expr::Assem(3pm)NAME
Imager::Expr::Assem - an assembler for producing code for the Imager
register machine
SYNOPSIS
use Imager::Expr::Assem;
my $expr = Imager::Expr->new(assem=>'...', ...)
DESCRIPTION
This module is a simple Imager::Expr compiler that compiles a low-level language that has a nearly 1-to-1 relationship to the internal
representation used for compiled register machine code.
Syntax
Each line can contain multiple statements separated by semi-colons.
Anything after '#' in a line is ignored.
Types of statements:
variable definition
"var" name:type
defines variable name to have type, which can be any of "n" or "num" for a numeric type or "pixel", "p" or "c" for a pixel or color
type.
Variable names cannot include white-space.
operators
Operators can be split into 3 basic types, those that have a result value, those that don't and the null operator, eg. jump has no
value.
The format for operators that return a value is typically:
result = operator operand ...
and for those that don't return a value:
operator operand
where operator is any valid register machine operator, result is any variable defined with "var", and operands are variables, constants
or literals, or for jump operators, labels.
The set operator can be simplified to:
result = operator
All operators maybe preceded by a label, which is any non-white-space text immediately followed by a colon (':').
BUGS
Note that the current optimizer may produce incorrect optimization for your code, fortunately the optimizer will disable itself if you
include any jump operator in your code. A single jump to anywhere after your final "ret" operator can be used to disable the optimizer
without slowing down your code.
There's currently no high-level code generation that can generate code with loops or real conditions.
SEE ALSO Imager(3), transform.perl, regmach.c
AUTHOR
Tony Cook <tony@develop-help.com>
perl v5.14.2 2011-06-06 Imager::Expr::Assem(3pm)