-
-
Save sampersand/86dc596f290d24759625cd7a969308ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## SH | |
while test $count -gt 0; do | |
echo $string\\c | |
count=`expr $count - 1` | |
done | |
## CSH | |
while ( $count > 0 ) | |
echo -n $string | |
@ count-- | |
end | |
# or | |
repeat $count echo -n $string | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment