Hi,
i would like to retrieve (only retrieve, not execute) a previous command which i executed on the command prompt. I tried the 'up arrow' key, but its not working. Instead,it showed me some funny characters. I searched around and i found the way to do it was using the way below. Several... (5 Replies)
Discussion started by: new2ss
5 Replies
2. Forum Support Area for Unregistered Users & Account Problems
Hello,
Apologies for not following the forum rules. I will follow it from now on.
What I need now is to get the previous date in PERL.
Today is 07/01/2010...and the prev date is 06/30/2010.
Could you please show me the (localtime) syntax of how to write this so it works in all... (3 Replies)
Hi
I need to get the previous 5 minutes from the currnet time as given below. Please help.
Current time : date +%d-%m-%Y_%H-%M
output : 16-05-2012_15-05
I need the previous 5 minutes of the above output ,
Required output:
16-05-2012_15-04
16-05-2012_15-03... (4 Replies)
I have hundreds of files to process. In each file
I need to look for a pattern then
extract value(s) from next line and then
search for value(s) selected from point (2) in the same file at a specific position.
HEADER ELECTRON TRANSPORT 18-MAR-98 1A7V
TITLE CYTOCHROME... (7 Replies)
I want to remove commands having no output. In below text file.
bash-3.2$ cat abc_do_it.txt
grpg10so>show trunk group all status
grpg11so>show trunk group all status
grpg12so>show trunk group all status
GCPKNYAIGT73IMO 1440 1345 0 0 94 0 0 INSERVICE 93% 0%... (4 Replies)
I have requirment to get last date of previous month and the first date of previous 4th month:
Example:
Current date: 20130320 (yyyymmdd)
Last date of previous month: 20130228 (yyyymmdd)
First date of previous 4th month: 20121101 (yyyymmdd)
In my shell --date, -d, -v switches are not... (3 Replies)
Hello,
I am new to this forum so any assistance would help.
I am currently trying to develop a script that extract all data from a log file with has the previous day's date.
$ <root@aixtest3> /var/log > more sudo.log
May 13 10:52:10 aixtest3 local2:notice sudo: tbrath : TTY=unknown ; ... (14 Replies)
Hi,
I am trying to extract data where first field unique value and 4th field of next row is grater than first row 4th field.
input data is a below:
7035719974,20-jul-2016 07:42:51,07:42:51,074251,1
7035719974,20-jul-2016 07:43:57,07:43:57,074357,2
7399206761,20-jul-2016... (2 Replies)
Discussion started by: rramkrishnas
2 Replies
LEARN ABOUT DEBIAN
sdlx::controller::state
pods::SDLx::Controller::State(3pm) User Contributed Perl Documentation pods::SDLx::Controller::State(3pm)NAME
SDLx::Controller::State - the state of a SDLx::Controller::Interface
CATEGORY
Extension, Controller
SYNOPSIS
# you'll most likely get a State object from a SDLx::Controller::Interface
# object. Just in case, here's how you would construct one by hand:
my $state1 = SDLx::Controller::State->new;
my $state2 = SDLx::Controller::State->new( $x, $y, $v_x, $v_y, $rotation, $ang_v );
# attributes are just simple accessors:
$state->x(10);
$state->x; # 10
# same goes for the rest:
$state->y;
$state->ang_v;
# etc.
DESCRIPTION
A state object is a simple container for any given state inside a running SDLx::Controller::Interface instance.
METHODS
new()
new( $x, $y, $v_x, $v_y, $rotation, $ang_v )
Creates a new state container object. Can optionally set the initial value of all its attributes (see below).
ACCESSORS
x
Accessor to get/set the x value, usually used to position the item or check for collisions.
y
Accessor to get/set the y value, usually used to position the item or check for collisions.
v_x
Accessor to get/set the x velocity of the instance, for moving objects dynamically.
v_y
Accessor to get/set the y velocity of the instance, for moving objects dynamically.
rotation
Accessor to get/set the rotation of the object, in degrees (0..360).
ang_v
Accessor to get/set the angular velocity, for rotating objects dynamically.
AUTHORS
See "AUTHORS" in SDL
perl v5.14.2 2012-05-28 pods::SDLx::Controller::State(3pm)