Opened 12 years ago
Closed 12 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: | medium | 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)
Change History (4)
by , 12 years ago
comment:1 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

diff result of current sed command