New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wget option #3

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@nilbus

nilbus commented Jul 17, 2017

wget -o <file> outputs download progress.

$ cat /usr/local/bin/ssl-inspector
--2017-07-17 12:09:30--  https://raw.githubusercontent.com/xlucas/ssl-inspector/master/bin/ssl-inspector.rb
Resolving raw.githubusercontent.com... 151.101.40.133, 151.101.0.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com|151.101.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60513 (59K) [text/plain]
Saving to: ‘ssl-inspector.rb’

     0K .......... .......... .......... .......... .......... 84%  292K 0s
    50K .........                                             100%  222M=0.2s

2017-07-17 12:09:31 (345 KB/s) - ‘ssl-inspector.rb’ saved [60513/60513]

wget -O <file> specifies the location to save the downloaded file, as expected.

Fix wget option
`wget -o <file>` outputs download progress.

```
$ cat /usr/local/bin/ssl-inspector
--2017-07-17 12:09:30--  https://raw.githubusercontent.com/xlucas/ssl-inspector/master/bin/ssl-inspector.rb
Resolving raw.githubusercontent.com... 151.101.40.133, 151.101.0.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com|151.101.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60513 (59K) [text/plain]
Saving to: ‘ssl-inspector.rb’

     0K .......... .......... .......... .......... .......... 84%  292K 0s
    50K .........                                             100%  222M=0.2s

2017-07-17 12:09:31 (345 KB/s) - ‘ssl-inspector.rb’ saved [60513/60513]
```

`wget -O <file>` specifies the location to save the downloaded file, as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment