Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: how to fetch 1,2,3, from chapter

by Random_Walk (Prior)
on Apr 26, 2013 at 13:05 UTC ( #1030826=note: print w/replies, xml ) Need Help??


in reply to how to fetch 1,2,3, from chapter

How about the fun way :)

> perl -e\ "print join', ',map {\"Chapter $_\"} splice@{[split/\D+/,'Chap 1,2,3'] +},1" Chapter 1, Chapter 2, Chapter 3

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030826]
help
Chatterbox?
[Discipulus]: good morning marto
[shmem]: good morning monkses and monksisses
[choroba]: Good morning!
[shmem]: GDPR meets butcher's shop
[marto]: if only Spectre had remained a fictional organisation :P https://www. phoronix.com/scan. php?page=news_item &px=Spectre-V3-V4- Vulnerabilities

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-05-22 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?