1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-05 18:59:59 +02:00
ffmpeg/unwrap-diff
Michael Niedermayer cf1cb7a8db silly script to fix line wraped patches
Originally committed as revision 4502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-10 23:48:25 +00:00

2 lines
104 B
Bash
Executable File

#!/bin/sh
tr '\n' '\001' | sed 's/\x01\x01/\x01 \x01/g' | sed 's/\x01\([^-+ @]\)/ \1/g' | tr '\001' '\n'