Jim Meyering wrote: > Updating ./gnulib/lib/.gitignore (backup in ./gnulib/lib/.gitignore~) > sed: file /u/jt503.zc6WFk/glnfwWQ6/sed-ignore-removed line 2: extra > characters after command > Creating ./gnulib/m4/.gitignore > Updating ./gnulib/tests/.cvsignore (backup in ./gnulib/tests/.cvsignore~) > Updating ./gnulib/tests/.gitignore (backup in ./gnulib/tests/.gitignore~) > sed: can't find label for jump to `est-lstat.c/d' > Finished.
This is part of a 2-step process, where a list of files is transformed by sed into a file 'sed-ignore-removed', which then itself is again applied as a sed script to other input. Can you make a backup copy of sed-ignore-removed after it has been created? Add 1 line to gnulib-tool: { echo '===='; cat "$tmp"/sed-ignore-removed; } >> /tmp/backup-copy It should then be clear whether the problem is that the file list contains unexpected characters, or the first 'sed' invocation went wrong, or the second 'sed' invocation went wrong. Bruno