Subject: Re: types "quad_t" & "u_quad_t"
From: Brian Dessent <[email-masked]>
To: [email-masked]
Date: Tue, 08 Mar 2005 15:38:59 -0800

Hannu E K Nevalainen wrote:

> $ cat >>.profile <<EOD
> 
> function od() {
>   if [ -r "$1" ] ;then
>     argline="-A x -v -t x1z -w24 $1"
>   else
>     # Problem with dual evaluation on argline?
>     argline="$*"
>   fi
>   command od $argline
>   argline=
> }
> EOD

That doesn't work so well if you ever need to do "od file1 file2" or
"(some command) | od".  In the former case you only get the first file
and in the latter you don't get the options passed.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/