![]() |
![]() |
#11 |
The list is long, but distinguished
Join Date: Dec 2006
Location: Århus, Denmark
Posts: 1,643
|
![]()
*click* bought.
__________________
![]() |
![]() |
![]() |
![]() |
#12 |
Bananaman
Join Date: Jul 2006
Location: Liverpool/Edinburgh
Posts: 4,817
|
![]()
Jesus, that actually looks foreign to me...
![]() |
![]() |
![]() |
![]() |
#13 |
The list is long, but distinguished
Join Date: Dec 2006
Location: Århus, Denmark
Posts: 1,643
|
![]()
Book shmook, got there in the end.
Still, it's a handy thing to learn.
__________________
![]() |
![]() |
![]() |
![]() |
#14 | |
The list is long, but distinguished
Join Date: Dec 2006
Location: Århus, Denmark
Posts: 1,643
|
![]() Quote:
Code:
abcdefgh<<ijklmno>pqrst>>uvwxyz abcdefgh<<ijklmno<pqrst>>uvwxyz ![]()
__________________
![]() |
|
![]() |
![]() |
![]() |
#15 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
![]()
You may have reached the limits of what sed can do for you there. It'll also break with this one:
Code:
abcdefgh<<ijklmno<>pqrst>>uvwxyz |
![]() |
![]() |
![]() |
#16 |
The list is long, but distinguished
Join Date: Dec 2006
Location: Århus, Denmark
Posts: 1,643
|
![]()
Any suggestions, Mr Mark? I think I need to buy you a pub...
![]()
__________________
![]() |
![]() |
![]() |
![]() |
#17 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
![]()
Windows or Linux? There's a way to cheat it that I hadn't thought of before, but I'll have to put it into a script as it uses unprintable characters.
|
![]() |
![]() |
![]() |
#18 |
The list is long, but distinguished
Join Date: Dec 2006
Location: Århus, Denmark
Posts: 1,643
|
![]()
Linux. Any suggestions would be more than welcome.
__________________
![]() |
![]() |
![]() |
![]() |
#19 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
![]()
OK - one more.
If I gave it: Code:
abcdefg<<<<hijkl>>mno>>pqrstuvwxyz I've solved all the other cases, but this one might resist. |
![]() |
![]() |
![]() |
#20 |
The list is long, but distinguished
Join Date: Dec 2006
Location: Århus, Denmark
Posts: 1,643
|
![]()
It'd never exist. The '<<' and '>>' will always match, there may be more than 1 per line, they would never overlap, and there may be single '<' and '>' in each.
__________________
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|