Skip to content
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

[Tutorial 10] Command line arguments only explained much later #58

Open
studersi opened this issue Apr 3, 2018 · 0 comments
Open

[Tutorial 10] Command line arguments only explained much later #58

studersi opened this issue Apr 3, 2018 · 0 comments

Comments

@studersi
Copy link
Contributor

studersi commented Apr 3, 2018

The commands

$> for DAY in {20..29}; do for HOUR in {00..23}; do echo "2015-05-$DAY $HOUR"; done; done \
| while read STRING; do COUNT=$(grep -c "$STRING" tutorial-8-example-access.log); \
echo -e "$STRING\t$COUNT"; done | sed -e "s/-/./g" -e "s/ /-/" | arbigraph --xaxisticsmodulo 24/10 -w 130

and

$> paste  /tmp/tmp.get /tmp/tmp.post | awk '{ print $1 "\t"  $2 " " $4 }' \
| arbigraph -l -2 -c "GET;POST" -x 5/3 -w 130

make use of -w 130 for arbigraph which is only explained at the very end of the tutorial as a goodie.

Is it really necessary for these two commands, or could it be removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant