01-24-2006
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Any one has a good documentation on How To Use EMACs editor??
Thanks
Ven :eek: (4 Replies)
Discussion started by: VENC22
4 Replies
2. UNIX and Linux Applications
Hey everybody!
Not sure if this goes here, but I think it's the best fit.
I was just wondering, how do I use a compiler from Emacs?
Also, how do I turn syntax highlighting on?
Thanks in advance! (5 Replies)
Discussion started by: led3234
5 Replies
3. Shell Programming and Scripting
Hi everyone !
I'd like to write a unix command for correcting all european accent errors in a document (spanish, german, french, danisch, etc )!
i need to do this for correcting my document :
sed -e 's/%2B/\ /g' -e 's/%25C9/É/g' doc1 > doc2
The first command is ok and change "%2B" into... (3 Replies)
Discussion started by: Tomat75
3 Replies
4. UNIX for Dummies Questions & Answers
could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
Discussion started by: starwind4
1 Replies
5. Shell Programming and Scripting
Hello All
in a text file I have to replace some numeric code by a string.
This is an exemple of the file:
000000001 LDR L ^^^^^nam^^2200169Ia^45e0
000000001 008 L 100604s9999^^^^xx^^^^^^^^^^^^000^0^und^d
000000001 022 L $$a0365-6675
000000001 090 L $$aBMA 1934-1937.
000000001 245... (1 Reply)
Discussion started by: ldiaz2106
1 Replies
6. Shell Programming and Scripting
Hello All
hope all fine,
I have a question about spanish accents...
I have in a redhat server, a lot of files with Ñ or Ú accent into the NAME of the file.
So my question is: Is it possible to change this name but with a script...to change all the occurence in one shot.
Exemple:
cd... (2 Replies)
Discussion started by: ldiaz2106
2 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to compile two files in Emacs (guess.cpp and yesno.cpp). So I open up Emacs (the text version) and give the command M-x and then I try to type in "g++ -o asst guess.cpp yesno.cpp". But everytime after I type "g++" and try to do a space after that, it says and wont let me type a space?
... (1 Reply)
Discussion started by: blackvelvet
1 Replies
8. HP-UX
Hi All,
Following are the problems i am facing.Resolution for these would be highly commendable:
a)I am trying to transfer files from my local C: directory to unix server using sftp.
The problem is coming when files with accent characters are picked for transfer.These files are not... (6 Replies)
Discussion started by: destinykrishan
6 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way..
How to use emacs editor? Also how to open existing emacs files with .cgi format?
I have the following link :-
http link i.e. url and path : /abc/xyz.dev/xyz/documents
What... (7 Replies)
Discussion started by: swathi123
7 Replies
10. AIX
Hi guys, I'm having a issue with a windows file from, at first the file is readed like one big and extense line and the famous "Ctrl+V Ctrl+R" or "^M return carriage"... fixed with:
perl -pe 'if ( s/\r\n?/\n/g ) { $f=1 }; if ( $f || ! $m ) { s/()\z/$1\n/ }; $m=1' $file_input > file_output
... (5 Replies)
Discussion started by: jockx
5 Replies
LEARN ABOUT DEBIAN
cstocs
CSTOCS(1p) User Contributed Perl Documentation CSTOCS(1p)
NAME
cstocs -- charset encoding convertor for the Czech and Slovak languages.
FORMAT
cstocs [options] src_encoding dst_encoding [files ...]
SYNOPSIS
cstocs il2 ascii < file | less
cstocs -i utf8 il2 file1 file2 file3
cstocs --help
DESCRIPTION
Cstocs is a simple conversion utility to change charset encoding of a text. It reads either specified files or (if none specified) the
standard input, assumes that the input is encoded in "src_encoding" and ties to reencode it into "dst_encoding". The result is written to
the standard output.
Run "cstocs" without parameters to get short help and list of available encodings.
Characters that are not defined in "src_encoding" are passed to the output unchanged.
If source text contains character, that is defined in "src_encoding" but not in "dst_encoding", it can be handled several ways. For
example, character "e with caron" (symbol ecaron), and "d with caron" (symbol dcaron) are included in the iso-8859-2 encoding, but not in
the iso-8859-1. If you will do reencoding of 8859-2 text to 8859-1, you may want to do one of the following actions:
1. Keep it the same, option "--nofillstring".
2. Do not produce any output instead of "ecaron" symbol, option "--null".
3. Substitute some string (possibly a space) instead of both ecaron and dcaron, options "--fillstring".
4. Substitute a letter "d" instead of dcaron, and "e" instead of ecaron. It is even possible to substitute string instead of symbol, so
you can replace the "AE" Latin character with string "AE" (letter "A", and letter "E"). Or you can replace a "plusminus sign" with a
string "+/-". These substitutions are described in the accent file.
OPTIONS
-i, -i.ext, --inplace.ext
Files specified will be converted in-place, using Perl "-i" facility. Optionaly, an extension for backup copies may be specified after
dot. This parameter has to be the first one, if specified.
--dir directory
Encoding files are taken from directory instead of the default, which is Cz/Cstocs/enc in the Perl lib tree. The location of encoding
files can also be changed using the CSTOCSDIR environment variable, but the --dir option has the highest priority.
--fillstring string
If source text contains character, that is defined in the "src_encoding" but not in the "dst_encoding" nor in the accent file (or
accent file is not used), it is replaced by "string". The default is single space.
--nofillstring
Disable changes of characters that would otherwise have fillstring applied. This is different from "--null" because that cancels that
character out.
--null
Completely equivalent to --fillstring "".
--nochange or --noaccent
Do not use the accent file at all.
--onebyone
Use only those rules from the accent file, which rewrite one character to one character. If this option is specified, character
"ecaron" will be rewritten to "e", but "AE" character will not be rewritten to "AE" string.
--onebymore
Use all rules from accent file. This is the default option.
SEE ALSO
Cz::Cstocs(3).
AUTHOR
Jan "Yenya" Kasprzak has done the original Un*x implementation.
Jan Pazdziora, adelton@fi.muni.cz, created the Perl module version.
perl v5.10.1 2010-01-16 CSTOCS(1p)