pl " Standard date:"
/usr/bin/date
pl " Standard date with arithmetic correction of -15 hours (expect fail):"
/usr/bin/date --date="15 hours ago"
pl " Standard date with arithmetic correction of -15 hours (expect fail):"
/usr/xpg4/bin/date --date="15 hours ago"
pl " perl version of date:"
date.pl --date="-15 hours"
producing:
Code:
Standard date:
Sun Apr 10 03:25:53 CDT 2016
-----
Standard date with arithmetic correction of -15 hours (expect fail):
/usr/bin/date: illegal option -- date=15 hours ago
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
-----
Standard date with arithmetic correction of -15 hours (expect fail):
/usr/xpg4/bin/date: illegal option -- date=15 hours ago
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
-----
perl version of date:
2016-04-09 12:25:54
For a sysem like:
Code:
Environment: LC_ALL = C, LANG = C
(Versions displayed with local utility "version")
OS, ker|rel, machine: SunOS, 5.11, i86pc
Distribution : Oracle Solaris 11.3 X86
bash GNU bash 4.1.17
date - ( /usr/bin/date, 2016-04-10 )
date.pl - ( local: RepRev 1.4, ~/bin/date.pl, 2014-02-18 )
Assume, I created one file three years back and I like to move the file to some other directory with the old date (Creation date)? Is it possible? Explain? (1 Reply)
Dear...
I have a scrpit that contains multiple read command.... when I run the script I have to enter 3 variables so that I can get the output..
but, I dont want to put those 3 inputs manually every time... I want to make a shell that reads the 3 inputs from a file.
the script name is... (4 Replies)
Hi Experts,
I have files name
report_20090416
report_20090417
report_20090418
report_20090420
report_20090421
I have 2 input from user
From Date: 20090417
To Date: 20090420
and I need to grep only those line in between. Output should be
report_20090417
report_20090418... (3 Replies)
i open the google search and want to search something, now , i want to change the input method ,but i don't know how to change the default input.
the default is english, how to exchange with others. thanks in advance (0 Replies)
I have 2 Servers IP:
1)10.1.1.27
2)10.1.2.27
#more /etc/postfix/transport
Domain.com smtp:ServerIP
Now i want to change the smtp:ServerIP according to user interaction: (2 Replies)
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Hi,
I have been trying to get the yesterdays date for the Input date I pass.
I know how to do for the current timestamp but how to do for the input date.
Is there any way I can convert to epoch time and do manipulations and back to human readable date?
Please help
Thanks
... (1 Reply)
hi all,
need a script or command to get the previous date for the given input date...
like in my script i will pass date as input parameter like 2014-12-01 and i want the output as previous date.. ie.. 2014-11-30 (2 Replies)
Suppose i have a list of files in a directory as mentioned below
1. Shankar_04152019_ny.txt
2. Gopi_shan_03122019_mi.txt
3. Siva_mourya_02242019_nd.txt
..
.
.
.
.
1000 . Jiva_surya_02282019_nd.txt
query : At one shot i want to modify the above all filenames present in one path with... (4 Replies)
Discussion started by: Shankar455
4 Replies
LEARN ABOUT SUSE
gtk2::gdk::input
Gtk2::Gdk::Input(3) User Contributed Perl Documentation Gtk2::Gdk::Input(3)NAME
Gtk2::Gdk::Input
METHODS
Gtk2::Gdk::Input->set_extension_events ($window, $mask, $mode)
o $window (Gtk2::Gdk::Window)
o $mask (Gtk2::Gdk::EventMask)
o $mode (Gtk2::Gdk::ExtensionMode)
ENUMS AND FLAGS
flags Gtk2::Gdk::EventMask
o 'exposure-mask' / 'GDK_EXPOSURE_MASK'
o 'pointer-motion-mask' / 'GDK_POINTER_MOTION_MASK'
o 'pointer-motion-hint-mask' / 'GDK_POINTER_MOTION_HINT_MASK'
o 'button-motion-mask' / 'GDK_BUTTON_MOTION_MASK'
o 'button1-motion-mask' / 'GDK_BUTTON1_MOTION_MASK'
o 'button2-motion-mask' / 'GDK_BUTTON2_MOTION_MASK'
o 'button3-motion-mask' / 'GDK_BUTTON3_MOTION_MASK'
o 'button-press-mask' / 'GDK_BUTTON_PRESS_MASK'
o 'button-release-mask' / 'GDK_BUTTON_RELEASE_MASK'
o 'key-press-mask' / 'GDK_KEY_PRESS_MASK'
o 'key-release-mask' / 'GDK_KEY_RELEASE_MASK'
o 'enter-notify-mask' / 'GDK_ENTER_NOTIFY_MASK'
o 'leave-notify-mask' / 'GDK_LEAVE_NOTIFY_MASK'
o 'focus-change-mask' / 'GDK_FOCUS_CHANGE_MASK'
o 'structure-mask' / 'GDK_STRUCTURE_MASK'
o 'property-change-mask' / 'GDK_PROPERTY_CHANGE_MASK'
o 'visibility-notify-mask' / 'GDK_VISIBILITY_NOTIFY_MASK'
o 'proximity-in-mask' / 'GDK_PROXIMITY_IN_MASK'
o 'proximity-out-mask' / 'GDK_PROXIMITY_OUT_MASK'
o 'substructure-mask' / 'GDK_SUBSTRUCTURE_MASK'
o 'scroll-mask' / 'GDK_SCROLL_MASK'
o 'all-events-mask' / 'GDK_ALL_EVENTS_MASK'
enum Gtk2::Gdk::ExtensionMode
o 'none' / 'GDK_EXTENSION_EVENTS_NONE'
o 'all' / 'GDK_EXTENSION_EVENTS_ALL'
o 'cursor' / 'GDK_EXTENSION_EVENTS_CURSOR'
SEE ALSO
Gtk2
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Gdk::Input(3)