./usr/lib64/mpich2/lib/libmpichcxx.so.1
I just want to grab:
./usr/lib64/mpich2/lib
I'm sure this can be done, but my regex powers are not strong.




Posted 19 August 2011 - 03:14 PM
./usr/lib64/mpich2/lib/libmpichcxx.so.1
./usr/lib64/mpich2/lib
Posted 19 August 2011 - 03:32 PM
Posted 19 August 2011 - 03:45 PM
.*\\/.*$
This post has been edited by jhar131: 19 August 2011 - 03:45 PM
Posted 20 August 2011 - 07:28 AM
fullpath = './usr/lib64/mpich2/lib/libmpichcxx.so.1'
path, filename = fullpath.rsplit('/', 1)
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
