hi,
i have file with 4 columns, the first column contains 10 numbers. i want to replace t the numbers (u can say i want to use cryptography). i want to replace 1 with 4, 2 with 5, 3 with 9.....
how can i achieve this in unix. :confused: (1 Reply)
Hi
i have a variable whose value contains '(single quote)
i want to replace single quote with two single quotes
ex-
i want to replace
abc's second center
with abc''s second center.
Plz help me.
thanks (2 Replies)
my file creation timestamp looks like this:
Nov 4 15:44:34 EST 2009
i need to translate into 091104
my way is to awk on $1, $2, $5, but i don't know how to tranlate Nov to 11
---------- Post updated at 03:01 PM ---------- Previous update was at 11:07 AM ----------
i resolved my post... (0 Replies)
Hi, all of you!!!
I have this code and I won to build-in some more code.
I know this is a lot of code.
if ; then
if ; then
SYSROOT="$1"
S_SCRIPT="cd $1 ; ./etc/rc.sysinit 2>&1 &"
fi
else
... (22 Replies)
Hi,
I'm using code below to assign title for Putty Window to show user@hostname+curr directory.
Trying to read this "write only" language, can anybody help me to go thru this string, too many thing in it I can't expaing
Tx
T
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}:... (1 Reply)
Hi,
I wrote a script to convert a given word from English to French.
But I am not able to figure out what I am missing here.
I am not able to get the translated word
Below is my script:
French=/root/dict/entofr.txt
for i in $*
do
word="echo $word $i"
done
while:
do
cat <<... (1 Reply)
Dear all,
I would like to count the no;of word "INFORMATION" in a file called alt.lst and output to a unix variable INFORMATION.so to do this I wrote the below code
INFORMATION=echo 'INFORMATION' | tr -cs 'A-Za-z' '\n' < /app/tisq005/01/home/tisq005b/scripts/alt.lst | grep -c "INFORMATION"... (2 Replies)
sed -n "2,10p" lfile | egrep error | egrep -vc memory
sed -n "2,10p" lfile | egrep error | egrep -v memory
sed -n "2,10p" lfile | egrep error | egrep -c memory
sed -n "2,10p" lfile | egrep error | egrep memory
above are four separate commands. i want to combine the grep in each... (7 Replies)
Discussion started by: SkySmart
7 Replies
LEARN ABOUT REDHAT
object
Object(library call) Object(library call)
NAME
Object -- The Object widget class
SYNOPSIS
#include <Xm/Xm.h>
DESCRIPTION
Object is never instantiated. Its sole purpose is as a supporting superclass for other widget classes.
Classes
The class pointer is objectClass.
The class name is Object.
New Resources
The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource val-
ues for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a .Xdefaults file, remove
the XmN or XmC prefix and use the remaining letters. To specify one of the defined values for a resource in a .Xdefaults file, remove the
Xm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words). The codes in the
access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues
(G), or is not applicable (N/A).
+---------------------------------------------------------------------+
| | Object Resource Set | | |
|Name | Class | Type | Default | Access |
+-------------------+-------------+----------------+---------+--------+
|XmNdestroyCallback | XmCCallback | XtCallbackList | NULL | C |
+-------------------+-------------+----------------+---------+--------+
+-------------------+-------------+----------------+---------+--------+
XmNdestroyCallback
Specifies a list of callbacks that is called when the gadget is destroyed.
Translations
There are no translation for Object.
Object(library call)