Sponsored Content
Full Discussion: vi
Operating Systems OS X (Apple) vi Post 302140038 by devtakh on Wednesday 10th of October 2007 01:42:46 PM
Old 10-10-2007
use this

without having to go to vi editor, you cud just use use

sed 's/.*$/&\^N/g' filename > outfile


or inside vi, u cud do

:1,$s/.*$/&\^N/g

cheers,
Devaraj Takhellambam
 
rzxtool(1)							     Emulators								rzxtool(1)

NAME
rzxtool - Modify Sinclair ZX Spectrum input recording files SYNOPSIS
rzxtool [-dblock number] [-eblock number,filename] [-iblock number,filename] [-u] rzxfile [outfile] DESCRIPTION
rzxtool allows some simple modifications to be made to Sinclair ZX Spectrum input recording files: blocks can be removed, snapshot data can be extracted or snapshots can be inserted into the file. The file can also be uncompressed. OPTIONS
-dblock number The block number specified will be deleted from the file. Block numbers start at zero and ignore any "creator information" blocks in the file. The modified file will be written to outfile. -eblock number,filename The snapshot in the specified block number will be written to the specified filename. All snapshot formats supported by libspec- trum(3) are available. -iblock number,filename The snapshot specified in filename will be added to the file at the position specified by block number. -u When outputting an RZX file, this option causes the input recording data to be output uncompressed; if this option is not given, the data will be compressed using zlib(3). rzxfile specifies an input recording file whose contents are to be modified. outfile specifies where the modified input file should be written. BUGS
None known SEE ALSO
fuse(1), fuse-utils(1), rzxcheck(1), rzxdump(1), zlib(3) The comp.sys.sinclair Spectrum FAQ, at http://www.worldofspectrum.org/faq/index.html. AUTHOR
Philip Kendall (philip-fuse@shadowmagic.org.uk). Version 1.0.0 16th December, 2010 rzxtool(1)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy