Leveraging synergy in this championship year
Michael Davies
Local
News
Software
Utility
Powered by PyBlosxom
Copyright © 2003, 2004, 2005, 2006, 2007, 2008 Michael Davies, |
Clearcase labeling with spaces in filenamesWorking with spaces in filenames is a right royal pain - should be a criminal offence, if you ask me! (if it wasn't for -0 on xargs and -print0 on find, it'd be a lot more painful, but I digress :-) Clearcase has it's own slightly different set of tools which doesn't help matters either. So one problem you commonly face is "I want to apply a label across some specific set of files, but some of them have spaces in them." The standard tricks don't work, but fortunately there is a workaround. Here 'tis.
'XPN' gives us the extended pathname (as opposed to 'PN'), and the double quotes cover the space-in-filename issue. Just one of them dang things you blog about because you never know when you'll need it again later :-) |
|
This web page is optimised
for standards. |