08-27-2012
i tried with Wordpad now its working ....thanks for reply
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a text file in unix.
i am trying to give a link in Internet explorer to that file.
If i click on the link in Internet Explorer page then it should display the text from file in unix.
is that anyway possible....
i am trying it for past 2 days....if i find a way out i will... (3 Replies)
Discussion started by: ganesh
3 Replies
2. UNIX for Dummies Questions & Answers
how to open a text file by double clicking on the file name shown in a label widget in gtk+.
thanks (0 Replies)
Discussion started by: cy163
0 Replies
3. Shell Programming and Scripting
Hi,
example of Unix / Linux dialog utility is below.
I am going to use dialog as simple GUI for testing of a modem.
So I need to combine some dialog boxes into one.
I need to have input box, output box, info box, dialog box,
radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies
4. UNIX for Dummies Questions & Answers
In windows, I can create a shortcut for websites. It's a .url file.
the content of the file is like:
How can I open it, the .url file, in firefox or google chrome in Unix(or just ubuntu)? (2 Replies)
Discussion started by: hz_i3
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am a new to linux, i was faced a file to know is a text file but its type isnt text document and i can not open it please guide me.
Regards
---------- Post updated at 02:52 AM ---------- Previous update was at 02:40 AM ----------
Thank you for your cooperation, my OS is a centOS 5.5... (1 Reply)
Discussion started by: mkhorami76
1 Replies
6. UNIX Desktop Questions & Answers
Hi
I am a new to linux, I was faced a file to know is a text file but its type isn't text document and I cannot open it, please guide me.
Regards. (2 Replies)
Discussion started by: mkhorami76
2 Replies
7. Shell Programming and Scripting
Hi i have a file like this
mailboxnum 20
filename <to subsitute>
fileloaction /home/dd234/
filetype txt
in a directory i have set of files for ex:
TT45.1.2
TT45.1.3
TT45.1.4
.
.
in for loop i have to take this files and subsitute one by one
ex: (1 Reply)
Discussion started by: greenworld123
1 Replies
8. Shell Programming and Scripting
Hi.
I have a 10 Gb text file.the default text editor in ubuntu doens't open it.
Does anyone know how can i open it??
Thanks (4 Replies)
Discussion started by: stalaei
4 Replies
LEARN ABOUT OPENSOLARIS
setlabel
setlabel(3C) Standard C Library Functions setlabel(3C)
NAME
setlabel - define the label for pfmt() and lfmt()
SYNOPSIS
#include <pfmt..h>
int setlabel(const char *label);
DESCRIPTION
The setlabel() function defines the label for messages produced in standard format by subsequent calls to lfmt(3C) and pfmt(3C).
The label argument is a character string no more than 25 characters in length.
No label is defined before setlabel() is called. The label should be set once at the beginning of a utility and remain constant. A null
pointer or an empty string passed as argument will reset the definition of the label.
RETURN VALUE
Upon successful completion, setlabel() returns 0; otherwise, it returns a non-zero value.
EXAMPLES
The following code (without previous call to setlabel()):
pfmt(stderr, MM_ERROR, "test:2:Cannot open file
");
setlabel("UX:test");
pfmt(stderr, MM_ERROR, "test:2:Cannot open file
");
will produce the following output:
ERROR: Cannot open file
UX:test: ERROR: Cannot open file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
getopt(3C), lfmt(3C), pfmt(3C), attributes(5)
SunOS 5.11 29 Dec 1996 setlabel(3C)