List Info

Thread: 'foreach' command




'foreach' command
user name
2006-12-11 23:45:12

  The following is an excerpt form the NetBSD guide -

    "Chapter 27 Obtaining the sources"

    You now must extract them all to /:
    % foreach file (*.tgz)
    ? tar -xzf $file -C /
    ? end

  What must I install from ports to have 'foreach' program
in my $PATH?

  I installed 'tcl' but still no good. My OS is NetBSD-3.1.

  Thanks, TM


'foreach' command
user name
2006-12-12 07:49:17
GW:/home/bqt> which foreach
foreach: shell built-in command.

	Johnny

TM wrote:
> 
> 
>  The following is an excerpt form the NetBSD guide -
> 
>    "Chapter 27 Obtaining the sources"
> 
>    You now must extract them all to /:
>    % foreach file (*.tgz)
>    ? tar -xzf $file -C /
>    ? end
> 
>  What must I install from ports to have 'foreach'
program in my $PATH?
> 
>  I installed 'tcl' but still no good. My OS is
NetBSD-3.1.
> 
>  Thanks, TM
> 
> 
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )