On Sat, Mar 19, 2016 at 5:17 AM, Sebastian Bazley <s...@apache.org> wrote:
> Commit 1e101bab079f2cef778ddfe5099e494e21d4e0e9:
>     Easier to read

If you are going to go for pretty, consider:

https://github.com/rubys/wunderbar/blob/master/demo/envdump.rb

Changing to html from plain text would enable things like 'redacted'
to be in a different font (e.g. italicized).

- Sam Ruby

>
> Branch: refs/heads/master
> Author: Sebb <s...@apache.org>
> Committer: Sebb <s...@apache.org>
> Pusher: sebb <s...@apache.org>
>
> ------------------------------------------------------------
> www/board/test.cgi                                           | ++++++ -
> www/committers/test.cgi                                      | ++++++ -
> www/members/test.cgi                                         | ++++++ -
> www/test.cgi                                                 | ++++++ -
> ------------------------------------------------------------
> 28 changes: 24 additions, 4 deletions.
> ------------------------------------------------------------
>
>
> diff --git a/www/board/test.cgi b/www/board/test.cgi
> index 011c7f6..2116558 100755
> --- a/www/board/test.cgi
> +++ b/www/board/test.cgi
> @@ -2,4 +2,9 @@
>
>  print "Content-type: text/plain\r\n\r\n"
>
> -print ENV.inspect
> +#print ENV.inspect
> +
> +ENV.sort.each do |k,v|
> +  print "#{k} #{v}\n"
> +end
> +
> diff --git a/www/committers/test.cgi b/www/committers/test.cgi
> index 011c7f6..2116558 100755
> --- a/www/committers/test.cgi
> +++ b/www/committers/test.cgi
> @@ -2,4 +2,9 @@
>
>  print "Content-type: text/plain\r\n\r\n"
>
> -print ENV.inspect
> +#print ENV.inspect
> +
> +ENV.sort.each do |k,v|
> +  print "#{k} #{v}\n"
> +end
> +
> diff --git a/www/members/test.cgi b/www/members/test.cgi
> index 011c7f6..2116558 100755
> --- a/www/members/test.cgi
> +++ b/www/members/test.cgi
> @@ -2,4 +2,9 @@
>
>  print "Content-type: text/plain\r\n\r\n"
>
> -print ENV.inspect
> +#print ENV.inspect
> +
> +ENV.sort.each do |k,v|
> +  print "#{k} #{v}\n"
> +end
> +
> diff --git a/www/test.cgi b/www/test.cgi
> index 011c7f6..2116558 100755
> --- a/www/test.cgi
> +++ b/www/test.cgi
> @@ -2,4 +2,9 @@
>
>  print "Content-type: text/plain\r\n\r\n"
>
> -print ENV.inspect
> +#print ENV.inspect
> +
> +ENV.sort.each do |k,v|
> +  print "#{k} #{v}\n"
> +end
> +

Reply via email to