Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

cygwin build

Brendan
2012-08-07
2013-10-17
  • Brendan
    Brendan
    2012-08-07

    Hi,
    The cygwin build is missing ncea. ncea is just aliased to ncra, as is ncrcat.

     
  • Charlie Zender
    Charlie Zender
    2012-08-07

    That is correct. All three operators utilize the same executable. The behavior is determined by the invocation name.
    cz

     
  • Brendan
    Brendan
    2012-08-08

    The problem is that aliasing the commands in this way does not pass arguments. It would be better  to use symbolic links?

     
  • Brendan
    Brendan
    2012-08-08

    Or add "$@" argument to each alias script i.e. ncea:
    ncra "$@"

     
  • Charlie Zender
    Charlie Zender
    2012-08-08

    i do not understand what you mean by "aliased". i thought you meant they were symbolic links, because that is what they should be, in fact that is what they are on UNIX. you can also use the  (intentionally undocumented) -Y switch:
    ncra -Y ncea in.nc out.nc
    causes ncra to act like ncea, or
    ncra -Y ncrcat in.nc out.nc
    for ncrcat.
    cz

     
  • Brendan
    Brendan
    2013-03-26

    Capping this one off, a half year after finding my error, to make sure no one else makes my stupid mistake. I unpacked using 7-zip under windows, which destroyed the symlinks. Make sure to untar under cygwin to unpack.