On Sun, Feb 22, 2015 at 02:31:57PM -0600, Bruce Dubbs wrote: > [email protected] wrote: > >Author: ken > >Date: Sun Feb 22 12:08:20 2015 > >New Revision: 15550 > > > >Log: > >Fix rpc.statd, the sed is equivalent to > >http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=17a3e5bffb7110d46de1bf42b64b90713ff5ea50 > > : thanks to the anonymous person who pointed me to this fix. > > sed -i "/daemon_init/s:\!::" utils/statd/statd.c > > Just a comment here. I don't like using backslashes if I can avoid it. > They make reading more difficult. Just changing the double quotes to single > quotes removes the need for the backslash in this case. > > sed -i '/daemon_init/s:!::' utils/statd/statd.c > > -- Bruce > I went with what I was offered. As you know, I prefer patches, and if I had found the upstream commit on my own I would probably have taken the minimal patch ;) The point is that I used that sed, and tested it. I do not doubt that your variation will work, but you've given me pain me already this month with a suggested sed (dvd rule - more comments in that thread when I've tested it on real hardware), so I'll leave you to change it if you wish.
ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
