Sponsored Content
Top Forums Shell Programming and Scripting Get Data Between a specific Date Range from logs Post 302284022 by ce9888 on Wednesday 4th of February 2009 01:54:00 PM
Old 02-04-2009
Can you give more details; layout of your log file and the output you want for your data
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extract data from log file from or after the specific date

Hi , I am having a script which will start a process and appends the process related logs to a log file. The log file writes logs with every line starting with date in the format of: date +"%Y %b %d %H:%M:%S". So, in the script, before I start the process, I am storing the date as DATE=`date +"%Y... (5 Replies)
Discussion started by: chiru_h
5 Replies

2. Shell Programming and Scripting

Read Write byte range/chunk of data from specific location in file

I am new to Unix so will really appreciate if someone can guide me on this. What I want to do is: Step1: Read binary file - pick first 2 bytes, convert from hex to decimal. Read the next 3 bytes as well. 2 bytes will specify the number of bytes 'n' that I want to read and write... (1 Reply)
Discussion started by: Kbenipel
1 Replies

3. Shell Programming and Scripting

Perl code to extract data from the range of date

Hi All, I'm still a newbie in perl programming. I have a data below say in test.tmp The output in test.tmp will be the same data as above sample in test.tmp . So after i get all the 4th column data within the range of month and year i need, then i will use the foreach () code to execute... (1 Reply)
Discussion started by: miskin
1 Replies

4. UNIX for Dummies Questions & Answers

Coping Files for a specific date range

Hi, we have file name appended by date in yymmdd format .. ex: abc090101.dat I need to copy all the files between abc090101 to abc090331.. could you plz help me.. Thanks. (1 Reply)
Discussion started by: kolariya4u
1 Replies

5. Shell Programming and Scripting

Extracting specific lines of data from a file and related lines of data based on a grep value range?

Hi, I have one file, say file 1, that has data like below where 19900107 is the date, 19900107 12 144 129 0.7380047 19900108 12 168 129 0.3149017 19900109 12 192 129 3.2766666E-02 ... (3 Replies)
Discussion started by: Wynner
3 Replies

6. Shell Programming and Scripting

Search for a specific data in a file based on a date range

Hi, Currently I am working on a script to automate the process of converting the log file from binary into text format. To achieve this, partly I am depending on my application’s utility for this conversion and the rest I am relying on shell commands to search for directory, locate the file and... (5 Replies)
Discussion started by: svajhala
5 Replies

7. Shell Programming and Scripting

Search for logs traced between specific date and time from log file

HI, I want to search for a logs which are trace between specific date and time from logs file. My logs are generated like this :- Tue Jun 18 05:00:02 EEST 2013 | file_check.sh| Message:script has files to process. Thu Jun 20 05:00:02 EEST 2013 | file_check.sh| Message:script has files to... (5 Replies)
Discussion started by: ketanraut
5 Replies

8. UNIX for Dummies Questions & Answers

Search for a specific String in a log file for a specific date range

Hi, I have log file which rolls out every second which is as this. HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies

9. UNIX for Dummies Questions & Answers

Search specific string logfile specific date range

Hi, I have logfile like this.. === 2014-02-09 15:46:59,936 INFO RequestContext - URL: '/eyisp/sc/skins/EY/images/pickers/comboBoxPicker_Over.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header === 2015-02-09... (8 Replies)
Discussion started by: kishk
8 Replies

10. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
Pango::Layout(3)					User Contributed Perl Documentation					  Pango::Layout(3)

NAME
Pango::Layout HIERARCHY
Glib::Object +----Pango::Layout METHODS
layout = Pango::Layout->new ($context) o $context (Pango::Context) alignment = $layout->get_alignment $layout->set_alignment ($alignment) o $alignment (Pango::Alignment) attrlist or undef = $layout->get_attributes $layout->set_attributes ($attrs) o $attrs (Pango::AttrList or undef) boolean = $layout->get_auto_dir Since: pango 1.4 $layout->set_auto_dir ($auto_dir) o $auto_dir (boolean) Since: pango 1.4 integer = $layout->get_baseline Since: pango 1.22 $layout->context_changed context = $layout->get_context layout = $src->copy (strong_pos, weak_pos) = $layout->get_cursor_pos ($index) o $index_ (integer) ellipsizemode = $layout->get_ellipsize Since: pango 1.6 $layout->set_ellipsize ($ellipsize) o $ellipsize (Pango::EllipsizeMode) Since: pango 1.6 (ink_rect, logical_rect) = $layout->get_extents (ink_rect, logical_rect) = $layout->get_pixel_extents fontdescription or undef = $layout->get_font_description Since: pango 1.8 $layout->set_font_description ($desc) o $desc (Pango::FontDescription or undef) integer = $layout->get_height Since: pango 1.20 $layout->set_height ($height) o $height (integer) Since: pango 1.20 integer = $layout->get_indent $layout->set_indent ($newval) o $newval (integer) array reference = $layout->index_to_pos ($index_) o $index_ (integer) boolean = $layout->is_ellipsized Since: pango 1.16 boolean = $layout->is_wrapped Since: pango 1.16 layoutiter = $layout->get_iter integer = $layout->get_justify $layout->set_justify ($newval) o $newval (integer) integer = $layout->get_line_count layoutline or undef = $layout->get_line ($line) o $line (integer) layoutline or undef = $layout->get_line_readonly ($line) o $line (integer) Since: pango 1.16 list = $layout->get_lines list = $layout->get_lines_readonly Since: pango 1.16 list = $layout->get_log_attrs Returns a list of Pango::LogAttr's $layout->set_markup ($markup) o $markup (string) accel_char = $layout->set_markup_with_accel ($markup, $accel_marker) o $markup (string) o $accel_marker (character) (new_index, new_trailing) = $layout->move_cursor_visually ($strong, $old_index, $old_trailing, $direction) o $strong (boolean) o $old_index (integer) o $old_trailing (integer) o $direction (integer) list = $layout->get_pixel_extents (width, height) = $layout->get_pixel_size integer = $layout->get_single_paragraph_mode $layout->set_single_paragraph_mode ($newval) o $newval (integer) (width, height) = $layout->get_size integer = $layout->get_spacing $layout->set_spacing ($newval) o $newval (integer) tabarray or undef = $layout->get_tabs $layout->set_tabs ($tabs) o $tabs (Pango::TabArray or undef) string = $layout->get_text $layout->set_text ($text) o $text (string) integer = $layout->get_unknown_glyphs_count Since: pango 1.16 integer = $layout->get_width $layout->set_width ($newval) o $newval (integer) wrapmode = $layout->get_wrap $layout->set_wrap ($wrap) o $wrap (Pango::WrapMode) (index, trailing) = $layout->xy_to_index ($x, $y) o $x (integer) o $y (integer) ENUMS AND FLAGS
enum Pango::Alignment o 'left' / 'PANGO_ALIGN_LEFT' o 'center' / 'PANGO_ALIGN_CENTER' o 'right' / 'PANGO_ALIGN_RIGHT' enum Pango::EllipsizeMode o 'none' / 'PANGO_ELLIPSIZE_NONE' o 'start' / 'PANGO_ELLIPSIZE_START' o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' o 'end' / 'PANGO_ELLIPSIZE_END' enum Pango::WrapMode o 'word' / 'PANGO_WRAP_WORD' o 'char' / 'PANGO_WRAP_CHAR' o 'word-char' / 'PANGO_WRAP_WORD_CHAR' SEE ALSO
Pango, Glib::Object COPYRIGHT
Copyright (C) 2003-2009 by the gtk2-perl team. This software is licensed under the LGPL. See Pango for a full notice. perl v5.12.1 2010-07-05 Pango::Layout(3)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy