git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Solaris and sed: Too many commands, last: s/\n//

From
JWJeffrey Walton <noloader@gmail.com>
Date
Mar 11, 2019, 20:31 UTC
Message-ID
<CAH8yC8nnFYt0raL+twrG_v8XZn_FDJWyM=tH=QL13Z70_bHRiQ@mail.gmail.com>
Hi Everyone,

I enabled self tests for Solaris. Solaris has some anemic utilities so I put /usr/gnu/bin first on-path.

make test is resulting in a lot of:

gmake -C templates SHELL_PATH='/bin/bash' PERL_PATH='/usr/bin/perl' gmake[1]: Entering directory `/export/home/jwalton/Build-Scripts/git-2.21.0/templates' : no custom templates yet gmake[1]: Leaving directory `/export/home/jwalton/Build-Scripts/git-2.21.0/templates' gmake -C t/ all gmake[1]: Entering directory `/export/home/jwalton/Build-Scripts/git-2.21.0/t' rm -f -r 'test-results' sed: Too many commands, last: s/\n// --- chainlint/arithmetic-expansion.expect 2019-02-24 11:31:46.000000000 -0500 +++ chainlinttmp/arithmetic-expansion.actual 2019-03-11 12:20:16.880610011 -0400

@@ -1,9 +0,0 @@
-(
-       foo &&
-       bar=$((42 + 1)) &&
-       baz
->) &&
-(
-?!AMP?!        bar=$((42 + 1))
-       baz
->)
sed: Too many commands, last: s/\n//
--- chainlint/bash-array.expect 2019-02-24 11:31:46.000000000 -0500
+++ chainlinttmp/bash-array.actual      2019-03-11 12:20:16.902186323 -0400
@@ -1,10 +0,0 @@
-(
-       foo &&
-       bar=(gumbo stumbo wumbo) &&
-       baz
->) &&
-(
-       foo &&
-       bar=${#bar[@]} &&
-       baz
->)
sed: Too many commands, last: s/\n//

A more complete output is available at https://pastebin.com/gpZMUVmQ,
but it is more of the same.

Solaris in a VM sucks. I can provide SSH access to the hardware if
anyone is interested. It is just an Solaris i86pc on an older Ivy
Bridge.

Jeff
Next: Eric Sunshine
Message 1 of 13 in “Solaris and sed: Too many commands, last: s/\n//”
  1. Jeffrey WaltonMar 11, 2019
  2. Eric SunshineMar 11, 2019
  3. Jeffrey WaltonMar 11, 2019
  4. Eric SunshineMar 11, 2019
  5. Jeffrey WaltonMar 12, 2019
  6. Jeffrey WaltonMar 12, 2019
  7. Jeffrey WaltonMar 12, 2019
  8. Jeffrey WaltonMar 12, 2019
  9. Eric SunshineMar 12, 2019
  10. Jeffrey WaltonMar 12, 2019
  11. Jeffrey WaltonMar 11, 2019
  12. Jeffrey WaltonMar 12, 2019
  13. Ævar Arnfjörð BjarmasonMar 12, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.