Sponsored Content
Operating Systems Linux Fedora od -c . does not work on mine Post 302399436 by Xcislav on Sunday 28th of February 2010 02:27:12 AM
Old 02-28-2010
Thx, and how can I vividly have a look at dump of a catalog (for learning purposes)?
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Your favorite command and mine - grep

Is their a way to grep for only one occurrence? Here is an example: given the file information: BCX 3 5 BCX 23 94 BNG 34 34 BCX 2 09 if I do: grep BCX ./file then i get them all, how can i get just one of them. But let's say there could be a variable number of the desired... (5 Replies)
Discussion started by: wxornot
5 Replies

2. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

3. What is on Your Mind?

What are Your Favorite Chips? Mine are Doritos Nacho Cheesier!

By far, Doritos Nacho Cheesier are the best tasting chips, well at least too me. Have you tried them? What are your favorite chips? (5 Replies)
Discussion started by: Neo
5 Replies

4. IP Networking

NIC will not work, but it did work.

I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
0 Replies

5. Shell Programming and Scripting

My script work on Linux but not work in sunos.

My script work on Linux but not work in sun os. my script. logFiles="sentLog1.log sentLog2.log" intial_time="0 0" logLocation="/usr/local/tomcat/logs/" sleepTime=600 failMessage=":: $(tput bold)Log not update$(tput rmso) = " successMessage="OK" arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies

6. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
setcat(3C)						   Standard C Library Functions 						setcat(3C)

NAME
setcat - define default catalog SYNOPSIS
#include <pfmt.h> char *setcat(const char *catalog); DESCRIPTION
The setcat() function defines the default message catalog to be used by subsequent calls to gettxt(3C), lfmt(3C), or pfmt(3C) that do not explicitly specify a message catalog. The catalog argument must be limited to 14 characters. These characters must be selected from a set of all characters values, excluding (null) and the ASCII codes for / (slash) and : (colon). The setcat() function assumes that the catalog exists. No checking is done on the argument. A null pointer passed as an argument will result in the return of a pointer to the current default message catalog name. A pointer to an empty string passed as an argument will cancel the default catalog. If no default catalog is specified, or if catalog is an invalid catalog name, subsequent calls to gettxt(3C), lfmt(3C), or pfmt(3C) that do not explicitely specify a catalog name will use Message not found!! as default string. RETURN VALUES
Upon successful completion, setcat() returns a pointer to the catalog name. Otherwise, it returns a null pointer. EXAMPLES
Example 1: Example of setcat() function. setcat("test"); gettxt(":10", "hello world ") ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
gettxt(3C), lfmt(3C), pfmt(3C), setlocale(3C), attributes(5), environ(5) SunOS 5.10 29 Dec 1996 setcat(3C)
All times are GMT -4. The time now is 10:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy