Sponsored Content
Full Discussion: egrep regex
Top Forums Shell Programming and Scripting egrep regex Post 302330288 by and77 on Tuesday 30th of June 2009 06:01:50 PM
Old 06-30-2009
egrep regex

I would like to put into a file the words that haven't the pipe character.
for example

gru|vie|ra
gru|ye|re
gruzzo
gruzzolo
gua|ca|mo|le
guac|co
gua|co

into the file will be putted

gruzzo
gruzzolo
because there is no pipe character.Thank you.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Egrep cheat sheet anywhere? Looking for meaning of egrep -c

Hi I've been searching google and have not found what egrep -c means. Does anyone know where I can get a cheat sheet or what that -c means? thanks, Linda (2 Replies)
Discussion started by: leelm
2 Replies

2. UNIX for Dummies Questions & Answers

search ")" with egrep - egrep: syntax error

Hi Guys, we have a shell script which basically query the Database which retrieves huge data and use the data with "egrep" . Now there is some data which contains characters like "abc)" and the same is used like below : "egrep (.+\|GDPRAB16\|GDPR/11702 96 abc)\|$ temp.txt" now while... (7 Replies)
Discussion started by: sagarjani
7 Replies

3. Shell Programming and Scripting

Converting perl regex to sed regex

I am having trouble parsing rpm filenames in a shell script.. I found a snippet of perl code that will perform the task but I really don't have time to rewrite the entire script in perl. I cannot for the life of me convert this code into something sed-friendly: if ($rpm =~ /(*)-(*)-(*)\.(.*)/)... (1 Reply)
Discussion started by: suntzu
1 Replies

4. Shell Programming and Scripting

Regex/egrep matching numbers in brackets

Experts: I don't know that regular expressions will ever be easy for me, so if one of you guru's could help out, I'd appreciate it. I'm trying to match a line in our syslog, but I can't figure out how to match a number inside a bracket. This is what I'm trying to match. "Jul 16 00:01:34... (2 Replies)
Discussion started by: jdveencamp
2 Replies

5. Shell Programming and Scripting

regex question using egrep

Hi, i have a a bunch of directories that are always named with six lowercase alpha's and either one or two numeric's (but no more) so for example names could be qwerty1 qwerty9 qwerty10 qwerty67 I am currently using two pattern matches to capture these names echo $DIR |... (8 Replies)
Discussion started by: rethink
8 Replies

6. Shell Programming and Scripting

matching a regex using egrep not working

Hi, I'm trying to validate if a string matches a regular expression, but it is not working. Am I missing something? Do I need to scape any of the characters? if echo 'en-GB' | egrep '({1,8})(-{1,8})*' >/dev/null; then echo Valid value fi Thanks in advance (6 Replies)
Discussion started by: skrtxao
6 Replies

7. Shell Programming and Scripting

Regex for HP egrep

I seem to be having an issue with an egrep command and I think its the way it is interpreting my regex. I have a test file.. ###FIND THESE### telnet /telnet `telnet -l` ###Dont FIND THESE### donotfindtelnet telnetdontfind Working Regex on Linux/Solaris egrep '\<(telnet|rcp)\>' $file ... (4 Replies)
Discussion started by: nitrobass24
4 Replies

8. UNIX for Dummies Questions & Answers

read regex from ID file, print regex and line below from source file

I have a file of protein sequences with headers (my source file). Based on a list of IDs (which are included in some of the headers), I'd like to print out only the specified sequences, with only the ID as header. In other words, I'd like to search source.txt for the terms in IDs.txt, and print... (3 Replies)
Discussion started by: pathunkathunk
3 Replies

9. Shell Programming and Scripting

Perl, RegEx - Help me to understand the regex!

I am not a big expert in regex and have just little understanding of that language. Could you help me to understand the regular Perl expression: ^(?!if\b|else\b|while\b|)(?:+?\s+){1,6}(+\s*)\(*\) *?(?:^*;?+){0,10}\{ ------ This is regex to select functions from a C/C++ source and defined in... (2 Replies)
Discussion started by: alex_5161
2 Replies

10. Shell Programming and Scripting

Sendmail K command regex: adding exclusion/negative lookahead to regex -a@MATCH

I'm trying to get some exclusions into our sendmail regular expression for the K command. The following configuration & regex works: LOCAL_CONFIG # Kcheckaddress regex -a@MATCH +<@+?\.++?\.(us|info|to|br|bid|cn|ru) LOCAL_RULESETS SLocal_check_mail # check address against various regex... (0 Replies)
Discussion started by: RobbieTheK
0 Replies
DateTime::Locale::pl_PL(3)				User Contributed Perl Documentation				DateTime::Locale::pl_PL(3)

NAME
DateTime::Locale::pl_PL SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'pl_PL' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Polish Poland. DATA
This locale inherits from the DateTime::Locale::pl locale. It contains the following data. Days Wide (format) poniedziaXek wtorek Xroda czwartek piXtek sobota niedziela Abbreviated (format) pon. wt. Xr. czw. pt. sob. niedz. Narrow (format) P W X C P S N Wide (stand-alone) poniedziaXek wtorek Xroda czwartek piXtek sobota niedziela Abbreviated (stand-alone) pon. wt. Xr. czw. pt. sob. niedz. Narrow (stand-alone) P W X C P S N Months Wide (format) stycznia lutego marca kwietnia maja czerwca lipca sierpnia wrzeXnia paXdziernika listopada grudnia Abbreviated (format) sty lut mar kwi maj cze lip sie wrz paX lis gru Narrow (format) s l m k m c l s w p l g Wide (stand-alone) styczeX luty marzec kwiecieX maj czerwiec lipiec sierpieX wrzesieX paXdziernik listopad grudzieX Abbreviated (stand-alone) sty lut mar kwi maj cze lip sie wrz paX lis gru Narrow (stand-alone) s l m k m c l s w p l g Quarters Wide (format) I kwartaX II kwartaX III kwartaX IV kwartaX Abbreviated (format) K1 K2 K3 K4 Narrow (format) 1 2 3 4 Wide (stand-alone) I kwartaX II kwartaX III kwartaX IV kwartaX Abbreviated (stand-alone) 1 kw. 2 kw. 3 kw. 4 kw. Narrow (stand-alone) 1 2 3 4 Eras Wide p.n.e. n.e. Abbreviated p.n.e. n.e. Narrow p.n.e. n.e. Date Formats Full 2008-02-05T18:30:30 = wtorek, 5 lutego 2008 1995-12-22T09:05:02 = piXtek, 22 grudnia 1995 -0010-09-15T04:44:23 = sobota, 15 wrzeXnia -10 Long 2008-02-05T18:30:30 = 5 lutego 2008 1995-12-22T09:05:02 = 22 grudnia 1995 -0010-09-15T04:44:23 = 15 wrzeXnia -10 Medium 2008-02-05T18:30:30 = 05-02-2008 1995-12-22T09:05:02 = 22-12-1995 -0010-09-15T04:44:23 = 15-09--010 Short 2008-02-05T18:30:30 = 05-02-08 1995-12-22T09:05:02 = 22-12-95 -0010-09-15T04:44:23 = 15-09--10 Default 2008-02-05T18:30:30 = 05-02-2008 1995-12-22T09:05:02 = 22-12-1995 -0010-09-15T04:44:23 = 15-09--010 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 = wtorek, 5 lutego 2008 18:30:30 UTC 1995-12-22T09:05:02 = piXtek, 22 grudnia 1995 09:05:02 UTC -0010-09-15T04:44:23 = sobota, 15 wrzeXnia -10 04:44:23 UTC Long 2008-02-05T18:30:30 = 5 lutego 2008 18:30:30 UTC 1995-12-22T09:05:02 = 22 grudnia 1995 09:05:02 UTC -0010-09-15T04:44:23 = 15 wrzeXnia -10 04:44:23 UTC Medium 2008-02-05T18:30:30 = 05-02-2008 18:30:30 1995-12-22T09:05:02 = 22-12-1995 09:05:02 -0010-09-15T04:44:23 = 15-09--010 04:44:23 Short 2008-02-05T18:30:30 = 05-02-08 18:30 1995-12-22T09:05:02 = 22-12-95 09:05 -0010-09-15T04:44:23 = 15-09--10 04:44 Default 2008-02-05T18:30:30 = 05-02-2008 18:30:30 1995-12-22T09:05:02 = 22-12-1995 09:05:02 -0010-09-15T04:44:23 = 15-09--010 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 wt. 1995-12-22T09:05:02 = 22 pt. -0010-09-15T04:44:23 = 15 sob. HHmm (HH:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 hhmm (hh:mm a) 2008-02-05T18:30:30 = 06:30 PM 1995-12-22T09:05:02 = 09:05 AM -0010-09-15T04:44:23 = 04:44 AM HHmmss (HH:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 hhmmss (hh:mm:ss a) 2008-02-05T18:30:30 = 06:30:30 PM 1995-12-22T09:05:02 = 09:05:02 AM -0010-09-15T04:44:23 = 04:44:23 AM 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 (d.M) 2008-02-05T18:30:30 = 5.2 1995-12-22T09:05:02 = 22.12 -0010-09-15T04:44:23 = 15.9 MEd (E, M-d) 2008-02-05T18:30:30 = wt., 2-5 1995-12-22T09:05:02 = pt., 12-22 -0010-09-15T04:44:23 = sob., 9-15 MMdd (MM-dd) 2008-02-05T18:30:30 = 02-05 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 09-15 MMM (LLL) 2008-02-05T18:30:30 = lut 1995-12-22T09:05:02 = gru -0010-09-15T04:44:23 = wrz MMMd (MMM d) 2008-02-05T18:30:30 = lut 5 1995-12-22T09:05:02 = gru 22 -0010-09-15T04:44:23 = wrz 15 MMMEd (d MMM E) 2008-02-05T18:30:30 = 5 lut wt. 1995-12-22T09:05:02 = 22 gru pt. -0010-09-15T04:44:23 = 15 wrz sob. MMMMd (d MMMM) 2008-02-05T18:30:30 = 5 lutego 1995-12-22T09:05:02 = 22 grudnia -0010-09-15T04:44:23 = 15 wrzeXnia MMMMEd (d MMMM E) 2008-02-05T18:30:30 = 5 lutego wt. 1995-12-22T09:05:02 = 22 grudnia pt. -0010-09-15T04:44:23 = 15 wrzeXnia sob. mmss (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 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 (yyyy-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -010-9 yMEd (EEE, d.M.yyyy) 2008-02-05T18:30:30 = wt., 5.2.2008 1995-12-22T09:05:02 = pt., 22.12.1995 -0010-09-15T04:44:23 = sob., 15.9.-010 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 lut 1995-12-22T09:05:02 = 1995 gru -0010-09-15T04:44:23 = -10 wrz yMMMEd (EEE, d MMM y) 2008-02-05T18:30:30 = wt., 5 lut 2008 1995-12-22T09:05:02 = pt., 22 gru 1995 -0010-09-15T04:44:23 = sob., 15 wrz -10 yMMMM (LLLL y) 2008-02-05T18:30:30 = luty 2008 1995-12-22T09:05:02 = grudzieX 1995 -0010-09-15T04:44:23 = wrzesieX -10 yQ (yyyy Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -010 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 K1 1995-12-22T09:05:02 = 1995 K4 -0010-09-15T04:44:23 = -10 K3 yyMM (MM/yy) 2008-02-05T18:30:30 = 02/08 1995-12-22T09:05:02 = 12/95 -0010-09-15T04:44:23 = 09/-10 yyMMM (MMM yy) 2008-02-05T18:30:30 = lut 08 1995-12-22T09:05:02 = gru 95 -0010-09-15T04:44:23 = wrz -10 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 yyyyMM (yyyy-MM) 2008-02-05T18:30:30 = 2008-02 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -010-09 yyyyMMMM (LLLL y) 2008-02-05T18:30:30 = luty 2008 1995-12-22T09:05:02 = grudzieX 1995 -0010-09-15T04:44:23 = wrzesieX -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week poniedziaXek 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.16.3 2014-06-10 DateTime::Locale::pl_PL(3)
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy