This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: types "quad_t" & "u_quad_t"


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]