Thread View: sci.techniques.xtallography
1 messages
1 total messages
Started by Walter Lloyd Ash
Thu, 13 Jun 2002 23:03
CNS script: uppercase filenames.
Author: Walter Lloyd Ash
Date: Thu, 13 Jun 2002 23:03
Date: Thu, 13 Jun 2002 23:03
14 lines
1741 bytes
1741 bytes
I'm using CNS to load coordinate files from a list, one at a time, with the following line: for $filename in ( @@ list.txt ) loop clusterit do some stuff to $filename end loop clusterit The problem I'm having is that CNS is capitalizing every line it pulls from $clusterfile, and this is problematic because I have mixed-case filenames and therefore can't actually do anything with the $filename variable as it does not match the actual filename I'm trying to access. Does anybody have any insight? I'd rather not capitalize every filename, because I have a huge pile of structures and a number of other CNS scripts that expect a certain file naming convention and capitalization.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads