> for (%%a) in (*.*) do some_action_to %a  (or something like that)
> How do I do it in tsch? 

I don't think I ever saw the answer to this.  If you meant tcsh, you 
would use the csh style iterative loop construct:

        foreach f (*)
          do_something_to $f
        end

But, in general, programming in csh is considered harmful[1].  Use an sh 
derivative (sh, ksh, bash) instead.

I do, however, second the suggestion that you look at ncftp to do this 
type of recursive or wildcard based ftping.

1. http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

        -jan-
-- 
Jan L. Peterson
Semi-Unemployed "Computer Facilitator"
http://www.peterson.ath.cx/~jlp/resume.html



____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to