taskGNU Astronomy Utilities - Tasks: task #14691, cosmiccal: handle stdin and act as...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #14691: cosmiccal: handle stdin and act as a filter to stdout

Submitted by:  Boud Roukema <boud>
Submitted on:  Tue 03 Oct 2017 03:15:44 PM UTC  
 
Should Start On: Tue 03 Oct 2017 12:00:00 AM UTCShould be Finished on: Thu 03 Oct 2019 12:00:00 AM UTC
Category: CosmicCalculatorPriority: 5 - Normal
Item Group: New featureStatus: None
Privacy: PublicPercent Complete: 0%
Assigned to: Boud Roukema <boud>Open/Closed: Open
Effort: 0.00

Tue 03 Oct 2017 03:15:44 PM UTC, original submission:

It would be good if cosmiccal can read a list of redshifts
or times from standard input stdin and output the (single)
chosen parameter (or possibly: multiple space-separated parameters) to standard output stdout. A simple way to do
this is to read from stdin until EOF as in cosmdist:

https://bitbucket.org/broukema/cosmdist/src/deeeef1a681257a5ef42412eaec0928e61425b68/cosmdist.c?at=master&fileviewer=file-view-default

Ways to modify cosmiccal include:

  • if neither redshift or time are entered, then read and filter stdin
  • add a single minus "-" option as a parameter to override default input redshift or time

More ambitious methods include communicating directly between
the processes before and after the pipe.

Boud Roukema <boud>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by boud (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Oct 2017 10:27:42 PM UTCboudShould be Finished onTue 03 Oct 2017 12:00:00 AM UTC=>Thu 03 Oct 2019 12:00:00 AM UTC

    Back to the top


    Powered by Savane 3.1-cleanup1