Sponsored Content
Top Forums Shell Programming and Scripting How to make a £ symbol printed from a file? Post 302347786 by chipcmc on Wednesday 26th of August 2009 11:33:49 AM
Old 08-26-2009
Are you sure the file format is in ISO-8859-1?
maybe you shell enviorement is in ISO-8859-1 but this no means you file is in this code charset.
Be sure in which characterset are writing your file....for this porpues you can use some application/command that asegure you that the file is writing in this charset, the comand "file" can give you the charset or for example if you work with eclipse you can changed the encoding when you go to save the file
Other way is to probe change the -Dfile.encoding parameter...
I'll probe with
-Dfile.encoding=UTF16
-Dfile.encoding=UTF8

hope this can help you in something...
 

10 More Discussions You Might Find Interesting

1. Programming

Error: Undefined Symbol ..... First referenced in file......

Hi, I am working with Solaris 5.9 and I am newbie in Socket programming and I stated working with socket programming and I copyed a simple client & server program from a website which I am attaching with this and when I am compiling these files.I am getting the error-- Please Help me to... (1 Reply)
Discussion started by: smartgupta
1 Replies

2. Shell Programming and Scripting

Get string from file after nth symbol

I've got a file, where I want to grab two fields from it. The file isn't fixed format, so all I know is that the two fields are after a certain number of delimiters within the record. File e.g. as follows:- "1"^"HEADER"^ "5"^"12345678"^"Smith"^"Dave"^"Mr"^"Research &... (1 Reply)
Discussion started by: daveaasmith
1 Replies

3. Shell Programming and Scripting

Problem while concating PIPE symbol with a file

Hi Gurus, I had a problem writing a pipe file. Previously i used this code to generate a tab seperated file ABCEF := ABCEF || 'to_char('|| abc_tab(col_num).col_name || ') chr(9) || '; Now i want the o/p as pipe seperated file.I changed the line as below ABCEF := ABCEF ||... (0 Replies)
Discussion started by: pssandeep
0 Replies

4. Shell Programming and Scripting

Remove the comment symbol ' from a file.

I want to remove the commented lines in a file identified by ' symbol at the start of each ine. A sample example will be like: Input ----- 'IFerr_flag=0THEN iferr_flag=0then iferr_flag=0then iferr_flag=0then iferr_flag=0then iferr_flag=0then iferr_flag=0then Output -------... (3 Replies)
Discussion started by: joyan321
3 Replies

5. Programming

makeutility: how to get the make-file name inside of the make-file?

How I can get the current make-file name in a make-file So, if I run make with specified file:make -f target.mak is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies

6. Solaris

/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies

7. Shell Programming and Scripting

Print new item in file with symbol

Dear all, I have encountered some problem here. I prompt the user for input and store it into a data file, eg. key in name and marks so the data file will look like this andrew 80 ben 75 and the next input is carine 90. So the problem here is i want to print... (2 Replies)
Discussion started by: branred
2 Replies

8. Shell Programming and Scripting

Removing Symbols From a File like the copyright symbol

Hi guys, I have a txt file full of funny symbols like the copyright symbol and other funny ones that get in the way when trying to use sed. For example, not sure if you can read this but I have a line that looks like this: 24(9):995Â*1001 DOI: 10.1007/s11606-009-1053-2 © When I'm using... (1 Reply)
Discussion started by: joshdg
1 Replies

9. UNIX for Advanced & Expert Users

Pound symbol is not displayed in Linux file

Hi All, I am trying to copy a test from database into a file, basically that is what our application do. We will process all values and store it in a Linux file. When i look the database I am seeing as below spend (£000's) but after processing and stored to a file , i am seeing as... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

10. Shell Programming and Scripting

Perl command line option '-n','-p' and multiple files: can it know a file name of a printed line?

I am looking for help in processing of those options: '-n' or '-p' I understand what they do and how to use them. But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.) I did try it and -n works on 2 files. Question is: - is it possible to... (6 Replies)
Discussion started by: alex_5161
6 Replies
KSYMS(4)						   BSD Kernel Interfaces Manual 						  KSYMS(4)

NAME
ksyms -- kernel symbol table interface SYNOPSIS
pseudo-device ksyms DESCRIPTION
The /dev/ksyms character device provides a read-only interface to the current kernel symbol table. It can be accessed either as a sequential file, where it looks like an executable file but with zero-sized text and data segments, or via ioctl(2). /dev/ksyms represents the symbol table at the time when the device is opened, and may not change until it is closed. The in-kernel symbol manager is designed to be able to handle any type of symbol table. However, only elf(5) symbol tables are currently dealt with. IOCTLS
The ioctl(2) command codes below are defined in <sys/ksyms.h>. The (third) argument to the ioctl(2) should be a pointer to the type indicated. KIOCGSIZE (int) Returns the total size of the current symbol table. This should be used when allocating a buffer to read in the whole symbol table to memory. KIOCGVALUE (struct ksyms_gsymbol) Returns the value for the given symbol name in a symtab-independent fashion. struct ksyms_gsymbol { const char *kg_name; unsigned long *kg_value; }; The struct element kg_name should be set to the name of the requested value, and the address that kg_value points to will receive the symbol value. KIOCGSYMBOL (struct ksyms_gsymbol) Returns the complete symbol for the given symbol name. struct ksyms_gsymbol { const char *kg_name; void *kg_sym; }; The struct element kg_name should be set to the name of the requested symbol, and the found symbol will be written to the kg_sym address. It is the callers responsibility to ensure that enough space for the symbol is allocated. FILES
/dev/ksyms SEE ALSO
ioctl(2), nlist(3), elf(5) HISTORY
A ksyms device exists in many different operating systems. This implementation is modelled in function after Solaris ksyms. This ksyms driver was written by Anders Magnusson for NetBSD. The ksyms driver first appeared in NetBSD 2.0. BSD
November 12, 2008 BSD
All times are GMT -4. The time now is 04:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy