10-13-2009
Unable to read special character from the file
Hello All,
We are getting files from sftp server through file transmission protocol & after transmission we are removing all the control M
(^M) characters from them.we are expecting various kind of special characters in the files.
we are tried removing '^M' characters through 'dos2unix' command then we are not able to read greek character 'mu' character,'dos2unix' is replacing 'mu' with some unknown boxes (actually it's changing ASCII value of mu to other ASCII value).
When we removed ^M from 'sed' command then : we are not able to read pound character (Britain currency).
The same problem exists 'tr' command.
Can anybody help us on handling the any special character in the files.
9 More Discussions You Might Find Interesting
1. Solaris
Hi together
I have 2 systems, mars and venus. The configuration is the same. Every system has a SDLT. I will now backup the datas from mars on the tapedevice from venus.
I have shareed the tapedevice (venus) and mounted on mars.
Now my problem: when I write on the mountet tapedevice, the... (1 Reply)
Discussion started by: MuellerUrs
1 Replies
2. Shell Programming and Scripting
hi
i want to delete a particular character in file.
example
file name:abcsample
abc=bbbqw3/
hidh=ajjqiwio4/
xyx=hakjp/
........../
......./
i want to delete that special character (/) in abcsample file.please give the required commands for my requirement.
thank you (3 Replies)
Discussion started by: srivsn
3 Replies
3. Shell Programming and Scripting
hi
i want to delete a particular character in file.
example
file name:abcsample
abc=bbbqw3/
hidh=ajjqiwio4/
xyx=hakjp/
........../
......./
i want to delete that special character (/) in abcsample file Permnently.please give the required commands for my requirement.
required... (1 Reply)
Discussion started by: srivsn
1 Replies
4. UNIX for Dummies Questions & Answers
I have a special character in my file. It displays as a '#' sign but when I do this command I do not find the line.
fgrep 'G#ant' file1
I want to replace the special character with another value but I need to know what character it really is. Any ideas on how to replace this '#' value with... (3 Replies)
Discussion started by: Ryan2786
3 Replies
5. Shell Programming and Scripting
hello,
How to parse a file to see if a specific line is commented by '#' character?
filename: file1
cat file1
...
# /usr/bin/whatever
...
thank you (9 Replies)
Discussion started by: melanie_pfefer
9 Replies
6. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
7. Shell Programming and Scripting
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
1 Replies
8. Shell Programming and Scripting
Hi,
My file has this special character "^M"
I would like to remove this characters.
eg:
abc,abc,^M
i tried using sed but doesnt work.
i used octal dump command to see special character it returns following:
015
\r
Appreciate your reply. (6 Replies)
Discussion started by: pinnacle
6 Replies
9. Red Hat
All,
I am having a tough time with Linux and CSV file. My CSV file gets generated from Cognos on Linux machine that contains special characters. At first instance when I do vi <filename> to that file, I can't see anything. I did tail -2 and redirected to another temp file and did vi <filename>,... (2 Replies)
Discussion started by: donadarsh
2 Replies
LEARN ABOUT DEBIAN
transmission-qt
TRANSMISSION-QT(1) BSD General Commands Manual TRANSMISSION-QT(1)
NAME
transmission-qt -- a bittorrent client
SYNOPSIS
transmission-qt -h
transmission-qt [options] [torrent-file ...]
DESCRIPTION
transmission-qt is a fast and easy BitTorrent client.
BitTorrent is a peer-to-peer file transfer protocol which uses a metainfo file (usually with the .torrent file extension) and a central
tracker to distribute file data amongst a group of peers. For more information on the BitTorrent protocol see http://www.bittorrent.org/
OPTIONS
-h --help
Show help options
-g, --config-dir directory
Where to look for configuration files. This can be used to swap between using the cli, daemon, gtk, and qt clients. See
http://trac.transmissionbt.com/wiki/ConfigFiles for more information.
-m --minimized
Start minimized in notification area
-p, --port port
Port to use when connecting to an existing session
-r, --remote host
Connect to an existing session at the specified hostname
-u, --username username
Username to use when connecting to an existing session
-v, --version
Show version number and exit
-w, --password password
Password to use when connecting to an existing session
Multiple .torrent files may be added at startup by appending them on the command line. If transmission-qt is already running, the torrents
will be added to the running instance.
ENVIRONMENT
TRANSMISSION_HOME
Sets the default config-dir.
FILES
~/.config/transmission
The config-dir used when neither [TRANSMISSION_HOME] nor [-g] is specified.
AUTHORS
transmission-qt was written by Jordan Lee, Josh Elsasser, Eric Petit, and Mitchell Livingston.
SEE ALSO
transmission-create(1), transmission-daemon(1), transmission-edit(1), transmission-gtk(1), transmission-qt(1), transmission-remote(1),
transmission-show(1)
http://www.transmissionbt.com/
June 26, 2010