mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use dd
instead of head -c
[Bug #13538] [ruby-dev:50106] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c10fb414a
commit
929807a9e0
1 changed files with 1 additions and 1 deletions
|
@ -4737,7 +4737,7 @@ AS_IF([test "`echo abcdefg hijklmno | fold -s -w10 | sed 1d`" = hijklmno], [FOLD
|
||||||
AS_REQUIRE_SHELL_FN([config_summary],
|
AS_REQUIRE_SHELL_FN([config_summary],
|
||||||
[AS_FUNCTION_DESCRIBE([config_summary], [NAME, VAL], [configuration summary])],
|
[AS_FUNCTION_DESCRIBE([config_summary], [NAME, VAL], [configuration summary])],
|
||||||
[AS_IF([test -z "$2"], [], [
|
[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"], [
|
AS_IF([test "$FOLD"], [
|
||||||
echo "$2" | fold -s -w50 |
|
echo "$2" | fold -s -w50 |
|
||||||
sed '1!s/^/ /;$!s/$/\\/'
|
sed '1!s/^/ /;$!s/$/\\/'
|
||||||
|
|
Loading…
Reference in a new issue