Menu

#23 Batch mode

open
nobody
5
2010-12-19
2010-12-11
Anonymous
No

First, thanks for this wonderful piece of software. I wanna ask if is possible to implement a batch mode for wcalc, so instead of

cat file | wcalc >> results

we can do

wcalc file

and it outputs results to a file, mixed with the instructions or not.

Discussion

  • Kyle Wheeler

    Kyle Wheeler - 2010-12-15
    • status: open --> pending
     
  • Kyle Wheeler

    Kyle Wheeler - 2010-12-15

    This isn't *exactly* what you're asking for, but may be good enough:

    wcalc < file > results

    You can also add --verbose to get it to spit out the inputs as well as any "comment" lines, like this:

    wcalc --verbose < file > results

    Is that good enough?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.