Search Results

Search: Posts Made By: prtc
2,211
Posted By prtc
Learning foreach
im newbie at shell scripting.
why do the following code

#!/bin/tcsh
setenv CBC ~/cbc/models/
foreach mix (p00p00 p02p00 p02p04)
echo $mix
cp $CBC/*$mix*Gyr*fits $mix/
end
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 10:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy