I have a file, where tail = 390 $ 0> $ Outname
. I have to find this line and call it tail -n +390 $ 0> $ Outname
. I am trying to do this with sed
-
sed -i -e '/ tail +390 \ $ 0 & gt; \ $ Outname / tail-n +390 \ $> \ $ Outname 'file.bin;
and
sed -i -e 's / tail \ +390 \ \ $ 0 \ & gt; \ \ $ Outname / tail \ -n \ +390 \ \ $ \ & gt; \ $ Outname 'file.bin;
The file I am trying to modify is a binary file.
But I can not work it, any sign would be appreciated.
No comments:
Post a Comment