Last change
on this file since 131 was
117,
checked in by rosiere, 15 years ago
|
1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
552 bytes
|
Rev | Line | |
---|
[117] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | function usage () |
---|
| 4 | { |
---|
| 5 | echo "usage : $0 [name_src] name_dest"; |
---|
| 6 | exit; |
---|
| 7 | } |
---|
| 8 | |
---|
| 9 | if test ${#} -eq 2; then |
---|
| 10 | name_src=${1}; |
---|
| 11 | name_dest=${2}; |
---|
| 12 | elif test ${#} -eq 1; then |
---|
| 13 | name_src="x1_w1_0"; |
---|
| 14 | name_dest=${1}; |
---|
| 15 | else |
---|
| 16 | usage ${*}; |
---|
| 17 | fi; |
---|
| 18 | |
---|
| 19 | if test ! -d ${name_src}; then |
---|
| 20 | echo "${name_src} is an invalid directory"; |
---|
| 21 | exit; |
---|
| 22 | fi; |
---|
| 23 | |
---|
| 24 | if test ! -d ${name_dest}; then |
---|
| 25 | mkdir ${name_dest}; |
---|
| 26 | fi; |
---|
| 27 | |
---|
| 28 | for i in ${name_src}/*; do |
---|
| 29 | sed s/Instance_${name_src}/Instance_${name_dest}/ ${i} > tmp; |
---|
| 30 | mv tmp ${name_dest}/$(basename ${i}); |
---|
| 31 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.