I'm trying to remove what I "think" is a bad character. How I got the bad character is when I downloaded jpgs onto my PC and then renamed the files using windows explorer. In cygwin, the files look like
I have a file where some records have been updated the wrong way and need to fix it quickly since the amount can be alot.
Every record where any of the first 4 characters are in upper case need to be changed to lowercase.
Records can have '#' in position-1 for comments. These musn't be... (2 Replies)
Hi Friends
I tried to find the file type of a file on my linux machine by using the following command
file xy.txt
instead of getting the file type i got following message
file: couldnot found any magic files!
What is wrong on this
how can i find the file type?
Regards
Shekar (2 Replies)
how we can replace char with a string
example
char *a="a.s"
so finally
what i ant to do
raplace a with ant and s sree
so in my array a i want to store the value as "ant.sree"
thank u in advance (1 Reply)
So a script is working properly (tested many times) , then you add a new fine piece of code ,finaly its fails generally with a syntax error at the last line of the script.
:confused:... does anybody why this happens?
>uname -a
HP-UX test... (4 Replies)
I am trying to create files with special characters in its filenames for testing purposes. This is on a Linux RHEL4 but this should also be applicable on a Unix shell.
I am able to create files with special characters in the filenames...e.g.
cp -pv foo.gif \*special.gif
cp -pv foo.gif \... (6 Replies)
Hi all,
I am trying to find the best way of making a change to 1 char in a string, the string can be between 1 and 14 characters.
I am reading a line in from a file which contains
012341231231:2:102939283:NNN: Require :NBN:
012838238232:3:372932:NNN: Require :NNB:
I need to change 1 N or a... (8 Replies)
Hi
I'm looking for a way to read a text file that may contain 1000 records or more and each of these records has 460 characters. I need to read each record, and add a string of characters starting at position 256 for each record. Any suggestions using UNIX shell scripting. (4 Replies)
Hi
I've a string . And i need to replace set of characters with a single character
Means .. or . or ... and so on should be replaced with single % character
Irrespective of number of dots in between the characters , those should be replaced with single %
All the above strings should be... (3 Replies)
Hi guys!
I have quite a lot of files like
all_10001_ct1212307460308.alf*
and I want to get rid of the first number for all at once like:
all_ct1212307460308.alf*
How can I do this in the shell? (12 Replies)
Hello All,
I have a file as below . I want to convert the Y with numbers to H
From
4,
M11,
P2521759,
Y75,Y70,Y105,Y110,Y700,Y815,Y830,Y900,Y162,Y300,
Y291,Y290,Y15,Y20,
MR2716014,MR2617014,
Yesterday,current
1,201012,
102032,1
11112,0
to
4,
M11,
P2521759,... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
LEARN ABOUT CENTOS
tapeconv
tapeconv(1) Emulators tapeconv(1)NAME
tapeconv - Sinclair ZX Spectrum tape file converter
SYNOPSIS
tapeconv [ -a archive info TZX ] [ -b ] [ -s SCR loading screen ] [ -i JPG or GIF inlay image ] infile outfile
DESCRIPTION
tapeconv converts between ZX Spectrum tape images.
OPTIONS -a archive info TZX
causes the TZX supplied to be scanned for a Archive Info block containing author, year of relase etc. information about the file and
then added to the output TZX.
[ -b ] causes the output TZX to be stripped of any concatenation blocks that get created when appending TZX files.
[ -s SCR loading screen ]
causes the supplied .scr format file to be attached to the TZX as a Custom Info block marked as a loading screen.
[ -i JPG or GIF inlay image ]
causes the supplied .gif or .jpg format file to be attached to the TZX as a Custom Info block marked as a cassette inlay.
infile specifies the tape file to be converted. This file can be in any of the tape formats supported by libspectrum(3).
outfile
specifies the output tape file. The format will be determined by the file extension and can be in any of the formats libspectrum(3)
supports for output.
BUGS
None known.
SEE ALSO fuse(1), fuse-utils(1), libspectrum(3), listbasic(1), tzxlist(1)
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 tapeconv(1)