documentserver_community icon indicating copy to clipboard operation
documentserver_community copied to clipboard

warning: command substitution: ignored null byte in input

Open HLFH opened this issue 5 years ago • 1 comments

Hi,

I am using the git version on master branch. When I use make, I am getting the following error:

➜ documentserver_community git:(master) ✗ make VERSION=$(grep -ozP "DocsAPI.DocEditor.version\s*=\s*function() {\n\s+return\s'\K(\d+.\d+.\d+)" 3rdparty/onlyoffice/documentserver/web-apps/apps/api/documents/api.js) ;
sed -i "s/return '[0-9.]
'/return '$VERSION'/" lib/OnlyOffice/WebVersion.php /bin/sh: avertissement :substitution de commande: octet nul ignoré en entrée

In English the error would give:

warning: command substitution: ignored null byte in input

Can the Makefile be fixed?

Thanks, HLFH

HLFH avatar Jun 05 '20 07:06 HLFH

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

github-actions[bot] avatar Jun 24 '24 00:06 github-actions[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Aug 26 '24 00:08 github-actions[bot]

I am experiencing the same problem with the version of documentserver_community that is currently in the repo (Nov 28, 2025).

djipco avatar Nov 28 '25 16:11 djipco