question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option for shorter output.

See original GitHub issue

It would be great to have options for shorter/longer output. Like:

$ curl 'http://wttr.in/?now'
               Overcast 
      .--.     64 °F          
   .-(    ).   ↑ 18 mph       
  (___.__)__)  9 mi           
               0.0 in   

Another one I would use is curl http://wttr.in/?week, where just a 5 day forecast it shown with only one row of output.

I’m sorry I don’t have a pull request to go with this. I just wanted to put the idea out there.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
bndrcommented, Apr 19, 2016

You can get shorter output by using curl -s -N http://wttr.in/Frankfurt | head -n 7

1reaction
nathan-vcommented, Mar 14, 2017

I believe this can be closed…

$ curl "http://wttr.in/?Q0"
      .-.      Light Rain
     (   ).    55 – 57 °F
    (___(__)   ↗ 6 mph
     ‘ ‘ ‘ ‘   8 mi
    ‘ ‘ ‘ ‘    0.0 in```
Read more comments on GitHub >

github_iconTop Results From Across the Web

Use the SHORT option in Base SAS procedures to reduce ...
The SHORT option on the PROC CONTENTS statement produces minimal output. The BRIEF option on the PROC COMPARE statement produces minimal output.
Read more >
Add option for smaller output (for 80x24) · Issue #151 - GitHub
I'm currently porting wttr.in to an embedded platform which have a 80*68 terminal but does no binutils. Since it does not rely on...
Read more >
Specifying TRUNCATE and STRIP options for output data - IBM
You can unload certain types of data into output fields that are shorter than the length of the output data. This data truncation...
Read more >
Format Output - MATLAB & Simulink - MathWorks
You can format the output display using several provided options. ... By default, MATLAB uses the short format (5-digit scaled, fixed-point values).
Read more >
The shortest possible output from git log containing author and ...
Inspired by stackoverflow question: "git log output like svn ls -v", I found out that I could add the exact params I needed....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found