01-17-2015
Could be e.g. a UTF-16 file; then iconv might be preferrable to tr...
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
2. Filesystems, Disks and Memory
I just started using Terminal on my Mac this summer, and right now I am having problems making a shell script. This shell should run the "Microsoft Setup Assistant" once I run the Automator Script. Alas, I still have problems.
Here is the offending scriptlet:
Sudo Tcsh
root# cd... (2 Replies)
Discussion started by: chrisfrap
2 Replies
3. Solaris
I tried to decode a binary script using the command 'uudecode'. but it is giving error as 'No begining line'.
'uudecode -o <outfile name> <binary file>'
Please help me in resolving this. (4 Replies)
Discussion started by: vamshikrishnab
4 Replies
4. SCO
Hi
I am looking for sco xenix binary compatibility utility "cvtomf",(convert omf object to COFF object)
Would you please help me ?
tnx (3 Replies)
Discussion started by: javad1_maroofi
3 Replies
5. UNIX for Dummies Questions & Answers
I am using grep to match a pattern, but the output is strange.
$ grep -r -o "pattern" *
Gives me:
Binary file foo1 matches
Binary file foo2 matches
Binary file foo3 matches
To find the lines before/after, I then have to use the following on each file:
$ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies
6. Shell Programming and Scripting
I am struck up with a problem and that is with output redirection.
I used all the ways for the redirection of the output of c binary to a file, still it is failing.
Here are the different ways which I have used:
./a.out | tee -a /root/tmp.txt 2>&1
./a.out | tee -a /root/tmp.txt 1>&1
./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies
7. UNIX for Dummies Questions & Answers
Hello guys,
We had to move from a DC to another, and we are now facing an "issue" with some text files.
Looks like that some of our log files are set as binary:
file TuxConnectorURA.20121012
TuxConnectorURA.20121012: data or International Language text
less TuxConnectorURA.20121012... (2 Replies)
Discussion started by: EnioMarques
2 Replies
8. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
9. Shell Programming and Scripting
Hello,
I want to parse another file, i just want the ascii content, here the result of command od -bc file
0000000 036 000 024 000 000 000 377 376 377 010 060 000 060 000 060 000
036 \0 024 \0 \0 \0 377 376 377 \b 0 \0 0 \0 0 \0
0000020 060 000 062 000 106 000... (21 Replies)
Discussion started by: protocomm
21 Replies
10. Web Development
Database Structure
Root Table
ID Root_ Node Level
1 A 0
2 B 1
3 C 1
Child Table
ID Left_Node Right_Node Root_Node Root_ID
1 B C A 1
... (1 Reply)
Discussion started by: Deepak Tiwari
1 Replies
LEARN ABOUT DEBIAN
yaz-iconv
YAZ-ICONV(1) Commands YAZ-ICONV(1)
NAME
yaz-iconv - YAZ Character set conversion utility
SYNOPSIS
yaz-iconv [-f from] [-t to] [-v] [file...]
DESCRIPTION
yaz-iconv converts data in file in character set specified by from to output in character set as specified by to.
This yaz-iconv utility similar to the iconv found on many POSIX systems (Glibc, Solaris, etc).
If no file is specified, yaz-iconv reads from standard input.
OPTIONS
-ffrom]
Specify the character set from of the input file. Should be used in conjunction with option -t.
-tto]
Specify the character set of of the output. Should be used in conjunction with option -f.
-v
Print more information about the conversion process.
ENCODINGS
The yaz-iconv command and the API as defined in yaz/yaz-iconv.h is a wrapper for the library system call iconv. But YAZ' iconv utility also
implements conversions on its own. The table below lists characters sets (or encodings). that are supported by YAZ. Each character set is
marked with either encode or decode. If an encoding is encode-enabled YAZ may convert to to the designated encoding. If an encoding is
decode-enabled, YAZ may convert from the designated encoding.
marc8 (encode, decode)
The MARC8[1] encoding as defined by the Library of Congress. Most MARC21/USMARC records usees this encoding.
marc8s (encode, decode)
Like MARC8 but with conversion prefers non-combined characters in the Latin-1 plane over combined characters.
marc8lossy (encode)
Lossy encoding of MARC-8.
marc8lossless (encode)
Lossless encoding of MARC8.
utf8 (encode, decode)
The most commonly used UNICODE encoding on the Internet.
iso8859-1 (encode, decode)
ISO-8859-1, AKA Latin-1.
iso5426 (decode)
ISO 5426. Some MARC records (UNIMARC) uses this encoding.
iso5428:1984 (encode, decode)
ISO 5428:1984.
advancegreek (encode, decode)
An encoding for Greek used by some vendors (Advance).
danmarc (decode)
Danmarc (in danish)[2] is an encoding based on UNICODE which is used for DanMARC2 records.
EXAMPLES
The following command converts from ISO-8859-1 (Latin-1) to UTF-8.
yaz-iconv -f ISO-8859-1 -t UTF-8 -X <input.lst >output.lst
FILES
prefix/bin/yaz-iconv
prefix/include/yaz/yaz-iconv.h
SEE ALSO
yaz(7) iconv(1)
NOTES
1. MARC8
http://www.loc.gov/marc/specifications/speccharmarc8.html
2. Danmarc (in danish)
http://www.kat-format.dk/danMARC2/Danmarc2.4.htm#felt+Indl.+4
YAZ 4.2.30 04/16/2012 YAZ-ICONV(1)