Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to remove junk (^Ò) character while FTPing Post 302178254 by vkumbhakarna on Tuesday 25th of March 2008 05:47:22 AM
Old 03-25-2008
I tried FTPing in the binary format by using type binary on ftp prompt but still the file is being FTPed with the junk character. Also after executing the command :1,$s/\^Ò//gp in vi editor, i am getting the following error "ex: 0602-071 No match exists for the substitute pattern."
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Get rid of junk character in a file

I have a file with one of the following lines, when opened with vi 33560010686GPT£120600GBPGBP10082007DS In the above line, I want to get rid of the junk character before the £ (pound sysmbol). When I tried copying £ from windows and copy in unix vi, it prints as £ and I tried pattern replace... (2 Replies)
Discussion started by: nskworld
2 Replies

2. Shell Programming and Scripting

Junk Character in file

Hi set filename "./GopiRun.sh" if } err] { writeLog "error in exec " writeLog $a } else { writeLog $a } The above code will execute a file GopiRun.sh,and will log the output of the exec to a file. The problem is the file has lot of junk character in it,how to avoid it. The... (2 Replies)
Discussion started by: nathgopi214
2 Replies

3. Shell Programming and Scripting

Remove all JUNK character from file.

Hi Team, I have a file having size greater than 1 GB. What i want to do is to check if it contains any JUNK character (ie any special charater thats not on the key board stroke). This file has 532 column & seperated with ^~^. I have found some solution from the file, but it is for a... (4 Replies)
Discussion started by: Amit.Sagpariya
4 Replies

4. Shell Programming and Scripting

Junk Character appended at the end of a line

Hi All I have a rather unusual problem, which i have not faced till now. I have a script which exports some paths to a text file. The script runs fine but when i check the output file i can see some junk characters ^M appended at end of lines and random places. I am not able to figure... (4 Replies)
Discussion started by: raghu_shekar
4 Replies

5. UNIX Desktop Questions & Answers

Help me to remove junk char

I wanted to remove junk char in my csv. :mad: Input file format: "17","9986782190","0","D","2" "17","9900918331","0","D","2" "13","9986782194","0","A","2" Output file format 9986782190 9900918331 9986782194 And one more thing all the time "13"," this will be different Ex: . (2 Replies)
Discussion started by: Siddartha
2 Replies

6. Shell Programming and Scripting

Check Junk character in sql file

Hello, I have two .sql files which I transferred from Windows to Unix (Linux Enterprise Linux Server release 5.3).I want to ensure that these two files have no junk characters in them.How do I do it in the simplest possible way? Many thanks DJ (1 Reply)
Discussion started by: Digjoy83
1 Replies

7. Shell Programming and Scripting

removing of junk character

Dear ALL, How to remove junk charecter ^M from unix file i am using sun solaris unix. I already tried few commands :%s/^M//g :%s/r//g but it didnt helped me. Any help appriciated. Thanks Ripudaman Please view this code tag video for how to use code tags when posting code... (5 Replies)
Discussion started by: ripudaman.singh
5 Replies

8. Shell Programming and Scripting

How to see junk character in file in.?

Hi I want to know how to see junk character in a file. i am not able to see junk character using vi or cat command. below is the junk char . which i see in host file 10.178.14.67▒▒▒ ac01sp02-vip actually it should be like this 10.178.14.67 ac01sp02-vip i am using secure CRT... (11 Replies)
Discussion started by: scriptor
11 Replies

9. Emergency UNIX and Linux Support

Help in viewing the junk character

Hello All, I have issues in unix file when I loaded that to database and do select * from table where description like '%'+char(13)+'%' on it I am able to get records. I tried to view the file in unix it is all having blank character which I think is all non ascii which I am not able view.... (11 Replies)
Discussion started by: arunkumar_mca
11 Replies

10. UNIX for Beginners Questions & Answers

Need to remove Junk characters

Hi All, I have a issue that we are getting Junk characters from source and i am not able to load that records to Database. Line breakers Junk Characters (Â and different every time) Japanese Characters Every time I am using grep command and awk -F "\007" to find them and delete that... (1 Reply)
Discussion started by: spradeep86
1 Replies
MAKE_UNICODEMAP(1)														MAKE_UNICODEMAP(1)

NAME
make_unicodemap - construct a unicode map file for Samba SYNOPSIS
make_unicodemap codepage inputfile outputfile DESCRIPTION
This tool is part of the Samba suite. make_unicodemap compiles text unicode map files into binary unicode map files for use with the internationalization features of Samba 2.2. OPTIONS
codepage This is the codepage or UNIX character set we are processing (a number, e.g. 850). inputfile This is the input file to process. This is a text unicode map file such as the ones found in the Samba source/codepages directory. outputfile This is the binary output file to produce. SAMBA UNICODE MAP FILES
A text Samba unicode map file is a description that tells Samba how to map characters from a specified DOS code page or UNIX character set to 16 bit unicode. A binary Samba unicode map file is a binary representation of the same information, including a value that specifies what codepage or UNIX character set this file is describing. FILES
CP<codepage>.TXT These are the input (text) unicode map files provided in the Samba source/codepages directory. A text unicode map file consists of multiple lines containing two fields. These fields are : o character - which is the (hex) character mapped on this line. o unicode - which is the (hex) 16 bit unicode character that the character will map to. unicode_map.<codepage> - These are the output (binary) unicode map files produced and placed in the Samba destination lib/codepage direc- tory. INSTALLATION
The location of the server and its support files is a matter for individual system administrators. The following are thus suggestions only. It is recommended that the make_unicodemap program be installed under the $prefix/samba hierarchy, in a directory readable by all, write- able only by root. The program itself should be executable by all. The program should NOT be setuid or setgid! VERSION
This man page is correct for version 2.2 of the Samba suite. SEE ALSO
smbd(8) smb.conf(5) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter 19 November 2002 MAKE_UNICODEMAP(1)
All times are GMT -4. The time now is 06:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy