Skip to content

Commit

Permalink
Adding a comment, removing another.
Browse files Browse the repository at this point in the history
  • Loading branch information
denilsonsa committed Apr 7, 2015
1 parent 52d708b commit 463665a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions mockping.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
#
# This is just a mock ping program that reproduces the same output all the
# time. It is used for testing/developing prettyping.

sample_output() {
cat << EOF
Expand Down
4 changes: 0 additions & 4 deletions prettyping
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,6 @@ function ceil(x) {
return (x == int(x)) ? x : int(x) + 1
}
# Currently, this function is called once, at the beginning of this
# script, but it is also possible to call this more than once, to
# handle window size changes while this program is running.
#
# Local variables MUST be declared in argument list, else they are
# seen as global. Ugly, but that is how awk works.
function get_terminal_size(SIZE, SIZEA, HAS_DETECTED, CMD) {
Expand Down

0 comments on commit 463665a

Please sign in to comment.