 |
|
Kaak
|
|
I'm trying to use sed, and it asks me to print all lines where b-days are in November or December. The way the input file is set up,
sed -n '/^[^:]*:[^:]*:[^:]*:11/p' databook
gives me the b-days in november, i just don't know how to make it do an "or" to get both. any ideas?
|
|
|  |
 |
|
Fve Crathva
|
|
Out of curiosity, would this also work?
/^(.*?:){3}1[12]/p
SP
Last edited by Fve Crathva on 11-11-2003 at 15:18
|
|
|  |
 |
|
Comrade Tassadar
|
|
([3^4]*1:2(4)])$^¨b12
|
|
|  |
All times are GMT. The time now is 05:31. Apolyton Time is 00:31. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|