For end of the fullpath, search for '[^\/]*$'
For end of the fullpath that begins with 'm', search for 'm[^\/]*$'

Caveats: I don't know perl & I don't use apt-file & I don't use linux. (I lurk 
the Debian list because I'm considering trying Debian.) My knowledge is javascript. The 
patterns above work.

On 2013/2/24 4:20 PM, Πρεκατές Αλέξανδρος wrote:
How can i match the last part of a full pathnname?

eg:  apt-file -x search '^m.*'  matches full paths with their topmost dirname
started with 'm'  . How can i match the last part or the full path to start
with m for example ?

aprekates
http://librebytes.gr




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/512aa5ff.1080...@gmail.com

Reply via email to