bsdgrep --null has no effect (Was: port astro/stellarium: /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/AngleMeasure/src/AngleMeasure.hpp, : File name too long, *** Error code 1)

From: Jan Beich <jbeich_at_tormail.net>
Date: Sun, 27 Nov 2011 09:24:15 -0100
(add gabor_at_ to CC, drop questions_at_)

"O. Hartmann" <ohartman_at_zedat.fu-berlin.de> writes:

> ===>  Patching for stellarium-0.11.1
> sed:
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/src/core/external/fixx11h.h
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/src/CMakeLists.txt
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TelescopeControl/src/TelescopeControl.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Oculars/src/Oculars.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/CompassMarks/src/CompassMarks.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TextUserInterface/src/TextUserInterface.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Supernovae/src/Supernovae.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/SolarSystemEditor/src/SolarSystemEditor.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/Satellites/src/Satellites.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/HelloStelModule/src/HelloStelModule.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.hpp
> /usr/ports/astro/stellarium/work/stellarium-0.11.1/plugins/AngleMeasure/src/AngleMeasure.hpp
> : File name too long
> *** Error code 1

Do you use bsdgrep? ${GREP} -Rl --null ... | ${XARGS} -0 ... won't work.

  $ gnugrep -l --null . /usr/include/md*.h | vis
  /usr/include/md2.h\^_at_/usr/include/md4.h\^_at_/usr/include/md5.h\^_at_

  $ bsdgrep -l --null . /usr/include/md*.h | vis
  /usr/include/md2.h
  /usr/include/md4.h
  /usr/include/md5.h
Received on Sun Nov 27 2011 - 09:25:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC