The single quotes are used to reference marks set with the k command. To delete lines with line numbers 3560 through 3572 (inclusive) that contain the string gcc, use the vi command:
The post you referenced tried to use quotes instead of CODE tags to delimit the code to type into vi, but the colon should have been inside the quotes instead of outside (and using quotes instead of CODE tags confused you). I hope this explanation clears things up for you.
I am looking for a way to remove any line in a text file that contains the string "Mac address". I guess you would grep and sed, but I am not sure how to do this. Thanks for you help. (3 Replies)
Hi,
I want to replace the srting '; with ABCD'; in a file from line 1 to line 65. Is there any single command to do it without using awk
Thanks for quick reply
https://www.unix.com/images/misc/progress.gif (3 Replies)
Hi
Can anyone tell me how can i remove new line character from a string.
My requirement is to read a line from a file and store it to a string.
read line
string1=$line
read line
string2=$line
echo $string1$string2
The result i am getting in different line. i want the output in the same... (1 Reply)
Hi,
i need to delete a lines after searching a particular string but this searching should only happen after the 4th line..
basically imagine a file like this
From: abcd.yahoo.com
To: cdeb.yahoo.com
Subject: hi all
sdfsd
sadasd
asdasd
dfsdf
From: abcd.yahoo.com
To:... (3 Replies)
Hello everyone...I have large txt file and I would like to remove unwanted specific line.
My data is like this:
So I would like to remove from line below No. until line reassambled like this:
Thanks... (4 Replies)
Hi Folks,
I am new to ksh, i have informatica parameter file that i need to update everyday with shell script. i need your help updating this file with new parameters.
sample data
$$TABLE1_DATE=04-27-2011
$$TABLE2_DATE=04-23-2011
$$TABLE3_DATE=03-19-2011
.......Highligned... (4 Replies)
I am trying to write a script that will allow me to recursively look at my directories, and output all filenames to a txt document. I am almost finished, however I am hitting one last snag. Here is my script so far:
find . | grep .jpg | awk -F"/" '{print $NF}' > output.txtThis will give me an... (7 Replies)
Hi,
I have a file like :
I want to remove last string in last line (here total string is "05550"~). And last line end with ~ character.
Output should be :
Please help me
Thanks in advance (3 Replies)
I would like to identify every line with a specific string, in this case: "Mamma".
I would like to remove that line, and also the line above it and below it. So the below
Where are all amazing Flats
Look At The Great Big White
Hey There Hot Mamma
You Are So hot Baby
I wish You were Mine... (5 Replies)
Discussion started by: phpchick
5 Replies
LEARN ABOUT CENTOS
snap2tzx
snap2tzx(1) Emulators snap2tzx(1)NAME
snap2tzx - Convert ZX Spectrum snapshot to .tzx tape images
SYNOPSIS
snap2tzx [-1 string] [-2 string] [-b colour] [-g string] [-l string] [-o filename] [-r] [-s speed] [-v] [-$ filename] snapshot
DESCRIPTION
snap2tzx converts a ZX Spectrum snapshot into a .tzx tape image.
OPTIONS -1 string
causes string (which has a maximum of 32 characters) to be shown while loading.
-2 string
causes string (maximum 32 characters) to also be shown while loading.
-b colour
specifies the border colour while loading.
-g string
causes string (maximum 32 characters) to be used as the game name while loading.
-l string
causes string (maximum 8 characters) to be used as the BASIC filename in the loader.
-o filename
causes the output to be sent to filename.
-r causes the final line of attribute data in the loading screen to be bright.
-s speed
specifies the speed of the loader; available values for speed are 0 (1500 bps), 1 (2250 bps), 2 (3000 bps) and 3 (6000 bps).
-v specifies verbose output.
-$ filename
specifies that the ZX Spectrum screen stored in filename should be used as the loading screen.
snapshot
specifies the snapshot (in a format supported by libspectrum(3)) to be converted.
In any string parameter, the tilde (~) will be converted into a copyright symbol.
BUGS
None known.
SEE ALSO fuse(1), fuse-utils(1), libspectrum(3), listbasic(1), snapconv(1)
The comp.sys.sinclair Spectrum FAQ, at
http://www.worldofspectrum.org/faq/index.html.
AUTHOR
Philip Kendall (philip-fuse@shadowmagic.org.uk).
Tomaz Kac wrote z802tzx (ftp://ftp.worldofspectrum.org/pub/sinclair/tools/unix/z802tzx-1.2.tar.gz), on which snap2tzx is very heavily
based.
Martijn van der Heide wrote the turbo-loading code, originally for Taper (http://www.worldofspectrum.org/taper.html).
Version 1.0.0 16th December, 2010 snap2tzx(1)