Sponsored Content
Top Forums Shell Programming and Scripting Grep content between specific lines Post 302918175 by Akshay Hegde on Monday 22nd of September 2014 08:49:53 AM
Old 09-22-2014
We can't bear this type of behavior here. +1 for ban
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Retreive content between specific lines ina file

Hi I have a text file which has two sets of lines repeating for "n" number of times.Some data is printed between the two lines.I want to retrieve all the data thats there in between those two set of lines.I have the string value of those two set of lines. To be much more clearer ... (4 Replies)
Discussion started by: chennaitomcruis
4 Replies

2. Shell Programming and Scripting

retrieving specific lines from a file - can I use grep ?

Hi there, if i had a file that looked like this my_server1 red green blue yellow blue my_server2 blue blue yellow green blue my_server3 yellow (9 Replies)
Discussion started by: hcclnoodles
9 Replies

3. UNIX Desktop Questions & Answers

grep lines with two specific characters somewhere in the line

I'm having trouble with extracting certain lines from a file based on whether they have all the required fields. Original file: snt:594:Sam N This bpt:2342:Bob P That lr:123 wrp:23:Whoever Person cor:794 Desired output: snt:594:Sam N This bpt:2342:Bob P That wrp:23:Whoever Person ... (3 Replies)
Discussion started by: Chthonic
3 Replies

4. 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

5. Shell Programming and Scripting

Problems to print specific lines with awk and grep...HELP!

Hi all I have data like this: model: 1, misfit value: 0.74987 1 1.182 1.735 2.056 1.867 2 0.503 1.843 2.018 1.888 3 2.706 2.952 2.979 1.882 4 8.015 3.414 3.675 1.874 ... (1 Reply)
Discussion started by: fedora2011
1 Replies

6. Shell Programming and Scripting

Grep only specific lines ordered by column/date

Hi everybody, I'd like to think I've been through the search tool not only on this site, but also on google too, but I haven't been able to find what I was looking for. If I might've missed something on this forum, please slap me in the face with a link that you consider useful for my query :D ... (4 Replies)
Discussion started by: dilibau
4 Replies

7. Shell Programming and Scripting

grep the output between specific lines

Symmetrix ID : 00000001234 Host Name : myown Identifiers Found : 5000000000000000 5000000000000001 Device Cap(MB) Attr Dir:P ------ ------- ---- ---- 1234 25886 (M) 8D:1, 9D:1 0123 25886 (M) 8D:1, 9D:1 1345 25886 (M) ... (5 Replies)
Discussion started by: maddy.san
5 Replies

8. Shell Programming and Scripting

Grep all lines for a specific date in log-files

I need to grep all lines for "yesterday" in /var/log/messages. Dates are in the format "YYYY-MM-DD". (5 Replies)
Discussion started by: Padmanabhan
5 Replies

9. Shell Programming and Scripting

Display specific lines content from the file

Hell, I want to grep certain word from file and display above 2 lines and after two lines. Here is the content of sample file. Mar 14, 2013 12:56:59 AM Agent.Agent SendTo INFO: Connection to server:7041 - Credential Transmit Successesful Mar 14, 2013 8:54:21 AM cgent SendTo WARNING:... (7 Replies)
Discussion started by: balareddy
7 Replies

10. UNIX for Dummies Questions & Answers

Grep specific lines

Hello I have a file with nearly 90000 lines in x,y,z format but have some lines that I do not need to show. Is there anyway to delete those 3 lines after every 288 lines. Eg I keep the first 288 lines delete (289, 290 291); keep the next 288 lines after those and so on... Thanks (6 Replies)
Discussion started by: Madiouma Ndiaye
6 Replies
DateTime::Locale::se(3pm)				User Contributed Perl Documentation				 DateTime::Locale::se(3pm)

NAME
DateTime::Locale::se - DateTime locale package for "se" SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'se' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Northern Sami. DATA
This locale inherits from the DateTime::Locale::root locale. It contains the following data. Days Wide (format) vuossarga maXXebarga gaskavahkku duorasdat bearjadat lavvardat sotnabeaivi Abbreviated (format) vuos maX gask duor bear lav sotn Narrow (format) v m g d b L s Wide (stand-alone) vuossarga maXXebarga gaskavahkku duorasdat bearjadat lavvardat sotnabeaivi Abbreviated (stand-alone) vuos maX gask duor bear lav sotn Narrow (stand-alone) v m g d b L s Months Wide (format) oXXajagemannu guovvamannu njukXamannu cuoXomannu miessemannu geassemannu suoidnemannu borgemannu XakXamannu golggotmannu skabmamannu juovlamannu Abbreviated (format) oXXj guov njuk cuo mies geas suoi borg XakX golg skab juov Narrow (format) O G N C M G S B X G S J Wide (stand-alone) oXXajagemannu guovvamannu njukXamannu cuoXomannu miessemannu geassemannu suoidnemannu borgemannu XakXamannu golggotmannu skabmamannu juovlamannu Abbreviated (stand-alone) oXXj guov njuk cuo mies geas suoi borg XakX golg skab juov Narrow (stand-alone) O G N C M G S B X G S J Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 K2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 K2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide ovdal Kristtusa maXXel Kristtusa Abbreviated o.Kr. m.Kr. Narrow o.Kr. m.Kr. Date Formats Full 2008-02-05T18:30:30 = maXXebarga, 2008 guovvamannu 05 1995-12-22T09:05:02 = bearjadat, 1995 juovlamannu 22 -0010-09-15T04:44:23 = lavvardat, -10 XakXamannu 15 Long 2008-02-05T18:30:30 = 2008 guovvamannu 5 1995-12-22T09:05:02 = 1995 juovlamannu 22 -0010-09-15T04:44:23 = -10 XakXamannu 15 Medium 2008-02-05T18:30:30 = 2008 guov 5 1995-12-22T09:05:02 = 1995 juov 22 -0010-09-15T04:44:23 = -10 XakX 15 Short 2008-02-05T18:30:30 = 08/02/05 1995-12-22T09:05:02 = 95/12/22 -0010-09-15T04:44:23 = -10/09/15 Default 2008-02-05T18:30:30 = 2008 guov 5 1995-12-22T09:05:02 = 1995 juov 22 -0010-09-15T04:44:23 = -10 XakX 15 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Long 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Datetime Formats Full 2008-02-05T18:30:30 = maXXebarga, 2008 guovvamannu 05 18:30:30 UTC 1995-12-22T09:05:02 = bearjadat, 1995 juovlamannu 22 09:05:02 UTC -0010-09-15T04:44:23 = lavvardat, -10 XakXamannu 15 04:44:23 UTC Long 2008-02-05T18:30:30 = 2008 guovvamannu 5 18:30:30 UTC 1995-12-22T09:05:02 = 1995 juovlamannu 22 09:05:02 UTC -0010-09-15T04:44:23 = -10 XakXamannu 15 04:44:23 UTC Medium 2008-02-05T18:30:30 = 2008 guov 5 18:30:30 1995-12-22T09:05:02 = 1995 juov 22 09:05:02 -0010-09-15T04:44:23 = -10 XakX 15 04:44:23 Short 2008-02-05T18:30:30 = 08/02/05 18:30 1995-12-22T09:05:02 = 95/12/22 09:05 -0010-09-15T04:44:23 = -10/09/15 04:44 Default 2008-02-05T18:30:30 = 2008 guov 5 18:30:30 1995-12-22T09:05:02 = 1995 juov 22 09:05:02 -0010-09-15T04:44:23 = -10 XakX 15 04:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 maX 1995-12-22T09:05:02 = 22 bear -0010-09-15T04:44:23 = 15 lav Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 PM 1995-12-22T09:05:02 = 9:05 AM -0010-09-15T04:44:23 = 4:44 AM Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 PM 1995-12-22T09:05:02 = 9:05:02 AM -0010-09-15T04:44:23 = 4:44:23 AM M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, M-d) 2008-02-05T18:30:30 = maX, 2-5 1995-12-22T09:05:02 = bear, 12-22 -0010-09-15T04:44:23 = lav, 9-15 MMM (LLL) 2008-02-05T18:30:30 = guov 1995-12-22T09:05:02 = juov -0010-09-15T04:44:23 = XakX MMMd (MMM d) 2008-02-05T18:30:30 = guov 5 1995-12-22T09:05:02 = juov 22 -0010-09-15T04:44:23 = XakX 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = maX guov 5 1995-12-22T09:05:02 = bear juov 22 -0010-09-15T04:44:23 = lav XakX 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = guovvamannu 5 1995-12-22T09:05:02 = juovlamannu 22 -0010-09-15T04:44:23 = XakXamannu 15 MMMMEd (E MMMM d) 2008-02-05T18:30:30 = maX guovvamannu 5 1995-12-22T09:05:02 = bear juovlamannu 22 -0010-09-15T04:44:23 = lav XakXamannu 15 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, y-M-d) 2008-02-05T18:30:30 = maX, 2008-2-5 1995-12-22T09:05:02 = bear, 1995-12-22 -0010-09-15T04:44:23 = lav, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 guov 1995-12-22T09:05:02 = 1995 juov -0010-09-15T04:44:23 = -10 XakX yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = maX, 2008 guov 5 1995-12-22T09:05:02 = bear, 1995 juov 22 -0010-09-15T04:44:23 = lav, -10 XakX 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 guovvamannu 1995-12-22T09:05:02 = 1995 juovlamannu -0010-09-15T04:44:23 = -10 XakXamannu yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 Q1 1995-12-22T09:05:02 = 1995 Q4 -0010-09-15T04:44:23 = -10 Q3 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week vuossarga SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.10.1 2010-03-19 DateTime::Locale::se(3pm)
All times are GMT -4. The time now is 02:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy