11878 Want a native wc(1)

Review Request #2419 — Created Oct. 25, 2019 and submitted

rm
illumos-gate
master
11878
777aa09...
general
11878 Want a native wc(1)


  • 0
  • 0
  • 3
  • 3
  • 6
Description From Last Updated
hans
  1. 
      
  2. usr/src/cmd/wc/wc.c (Diff revision 1)
     
     

    The wording follwing "Otherwise" probably could be improved.

  3. usr/src/man/man1/wc.1 (Diff revision 1)
     
     

    The code says you don't document -C in the manpage, so perhaps you shouldn't mention it here?

    1. I think I'm going to remove it from the code as it's wrong. I ultimately decided to document it so folks found an old script came across this, they'd be able to know what it did.

  4. usr/src/man/man1/wc.1 (Diff revision 1)
     
     

    Do you really mean "delineated" instead of "delimited"?

  5. usr/src/man/man1/wc.1 (Diff revision 1)
     
     

    As mentioned above, don't document -C.

  6. usr/src/man/man1/wc.1 (Diff revision 1)
     
     

    As mentioned above, don't document -C.

  7. 
      
ptribble
  1. 
      
  2. usr/src/cmd/wc/Makefile (Diff revision 1)
     
     

    lint is no more

  3. usr/src/cmd/wc/wc.c (Diff revision 1)
     
     

    The ksh93 also took -q for quiet and accepted long options. Should we not accept those arguments too?

    1. I forgot about the long arguments. I'll go through and add support for all of them for compatability and enhance the test suite a bit.

    2. On the other hand, I'm not sure what is the right answer here as folks are told the interface is volatile and they can't rely on the ksh93 binding. That said, better to be lenient than harsh.
  4. 
      
rm
rm
hans
  1. Ship It!
  2. 
      
ptribble
  1. Ship It!
  2. 
      
rm
hans
  1. Ship It!
  2. 
      
rm
Review request changed

Status: Closed (submitted)

Loading...