Opened 9 years ago

Closed 9 years ago

#6333 closed defect (fixed)

alsa-plugins: sed command inserts too many lines

Reported by: Jeremy Henty Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

In the alsa-plugins page, the sed command 'sed -i "/speex_preprocess/i#include <stdint.h>" speex/pcm_speex.c' is clearly meant to insert one '#include' line near the top of the file, but it actually inserts many such lines all over the place. A correct command is 'sed -i "/speex_preprocess\.h/i#include <stdint.h>" speex/pcm_speex.c'.

Diffs for each command attached as a demonstration.

Attachments (2)

diff_0 (2.1 KB ) - added by Jeremy Henty 9 years ago.
diff result of current sed command
diff_1 (344 bytes ) - added by Jeremy Henty 9 years ago.
diff result of corrected sed command

Download all attachments as: .zip

Change History (4)

by Jeremy Henty, 9 years ago

Attachment: diff_0 added

diff result of current sed command

by Jeremy Henty, 9 years ago

Attachment: diff_1 added

diff result of corrected sed command

comment:1 by Fernando de Oliveira, 9 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r15719.

Forgot to write that I confirmed.

Thanks, Jeremy.

Note: See TracTickets for help on using tickets.