![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| interesting problem | ChicagoBlues | Shell Programming and Scripting | 5 | 02-29-2008 11:40 AM |
| I have an interesting problem and need advice | Maldain | SCO | 1 | 02-10-2007 08:56 AM |
| interesting problem | rein | UNIX for Advanced & Expert Users | 3 | 02-16-2005 10:25 PM |
| An interesting problem | jyotipg | UNIX for Advanced & Expert Users | 5 | 11-02-2001 01:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Interesting problem
Hello,
So I'm utilizing the bash brace expansion feature to checkout multiple folders from cvs with ease, while excluding certain subfolders within. So I do a command like this: cvs co trunk/{mod_a,mod_b,mod_c} \!trunk/{mod_a,mod_b,mod_c}/web to checkout modules trunk/mod_a , trunk/mod_b , and trunk/mod_c without the web subfolder within those modules. The question is: is there a way to compress the two brace expansions above into one? My first attempt was like: {,\!}trunk/{mod_a,mod_b,mod_c}{,/web} which understandably doesn't work. Can anybody think of a way to do this? Neked |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|