ruby-changes:46434
From: kazu <ko1@a...>
Date: Wed, 3 May 2017 11:02:54 +0900 (JST)
Subject: [ruby-changes:46434] kazu:r58548 (trunk): Use `dd` instead of `head -c`
kazu 2017-05-03 11:02:50 +0900 (Wed, 03 May 2017) New Revision: 58548 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58548 Log: Use `dd` instead of `head -c` [Bug #13538] [ruby-dev:50106] Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 58547) +++ configure.in (revision 58548) @@ -4737,7 +4737,7 @@ AS_IF([test "`echo abcdefg hijklmno | fo https://github.com/ruby/ruby/blob/trunk/configure.in#L4737 AS_REQUIRE_SHELL_FN([config_summary], [AS_FUNCTION_DESCRIBE([config_summary], [NAME, VAL], [configuration summary])], [AS_IF([test -z "$2"], [], [ - AS_ECHO_N([" * $1: "]) | head -c26 + AS_ECHO_N([" * $1: "]) | dd bs=1 count=26 2>/dev/null AS_IF([test "$FOLD"], [ echo "$2" | fold -s -w50 | sed '1!s/^/ /;$!s/$/\\/' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/