i am a new user of C-shell script.
I want to know can i create a substring in a string.
That means when i got a variable $input = "it is number 2"
I want to get the "2" to be another variable.
Can i do that in C-shell and how to ?
Thank you so much
dinodash (0 Replies)
Hi All,
Following is the output of a find commnd to locate log directories for various projects of UNIX AIX box:
/home/hbinz6pf/projectlibs/dpr_pfsdw_dev/&PH&
/opt/tools/ds/Template/&PH&
/data/ds/ms/hmsdw/projectlibs/dpr_ms_dev/&PH&
/data/ds/riskmi/projectlibs/dpr_riskmi_dev/&PH&... (1 Reply)
Hi All,
Following is the output of a find commnd to locate log directories for various projects of UNIX AIX box:
/home/hbinz6pf/projectlibs/dpr_pfsdw_dev/&PH&
/opt/tools/ds/Template/&PH&
/data/ds/ms/hmsdw/projectlibs/dpr_ms_dev/&PH&
/data/ds/riskmi/projectlibs/dpr_riskmi_dev/&PH&... (5 Replies)
please give me proper solution for finding a shortest substring from given string if string itself and first char and last char of that substr are also given by user
if S="dpoaoqooroo" and FC="o" and LC="o",then shortest substr is "oo" and rest of the string is "dpoaoqroo"
i have code but it is... (1 Reply)
I need a help in getting substring of each line in input file.
I am writing a script that will read a file from a directory on daily basis, I mean everyday a new file will be stored in this directory, it will replace old file. I have to read contents of this file, the contents will be as... (5 Replies)
hi all,
i need an urgent help for writing a shell script which will extract out and print a substring which is the shortest substring from the given string where first and last character of that substring will be given by the user.
for e.g.
if str="abcdpqracdpqaserd"
now if the user gives 'a'... (18 Replies)
This is the data I am having in a file
Just for sample I have given 3 records. The file which I am having consists of n number of records.
ABC123 10 01/02/2008 2008-01-03-00.00.00.000000
DYUU 22 02/03/2008 2008-01-04-00.00.00.000000
RF33 88 03/05/2008 2008-01-05-00.00.00.000000
... (24 Replies)
Hi all,
I am new to scripting.
I have a file with colon separated values called mylist.txt
cat mylist.txt
192.123.76.89:lmprod89
162.122.20.28:lmtstserver28
10.80.32.139:hewprod139
.
.
using our internal os utility (called mvsping) we need to check all these servers if they are... (6 Replies)
I want to check if the string has the substring in IF condition then process...
i tried below but not working
if ];
then
.............
field can be "reserved1" ....reservedn / fillspaces1 ... fillspacesn (4 Replies)
Hi all,
Please, i'd like to extract string just before '.fr'.
Here is some lines of my file:
g-82.text.text1.fr.worker1
g-xx.yyyyyy.zzzz.fr.worker2
i'd like to extract this text:
g-82.text.text1
g-xx.yyyyyy.zzzz
Please, which command i have to use in my script shell ?
... (16 Replies)
Discussion started by: chercheur111
16 Replies
LEARN ABOUT DEBIAN
shell
Shell(3) LessTif Manuals Shell(3)NAME
Shell - Shell widget from X Toolkit
SYNOPSIS
#include <X11/Shell.h>
DESCRIPTION
Shell is a widget which is defined in the X Toolkit. We document its existence here for completeness. Please refer to the X Window System
documentation for the real information regarding this widget.
X RESOURCES
Name Class Type Default Access
--------------------------------------------------------------------------------
XtNx XtCPosition Position NULL CSG
XtNy XtCPosition Position NULL CSG
XtNdepth XtCDepth Int NULL CSG
XtNcolormap XtCColormap Colormap NULL CSG
XtNancestorSensitive XtCSensitive Boolean NULL CSG
XtNallowShellResize XtCAllowShellResize Boolean NULL CSG
XtNgeometry XtCGeometry String (null) CSG
XtNcreatePopupChildProc XtCCreatePopupChildProc Function NULL CSG
XtNsaveUnder XtCSaveUnder Boolean NULL CSG
XtNpopupCallback XtCCallback Callback NULL CSG
XtNpopdownCallback XtCCallback Callback NULL CSG
XtNoverrideRedirect XtCOverrideRedirect Boolean NULL CSG
XtNvisual XtCVisual Visual NULL CSG
XtNx
XtNy
XtNdepth
XtNcolormap
XtNancestorSensitive
XtNallowShellResize
XtNgeometry
XtNcreatePopupChildProc
XtNsaveUnder
XtNpopupCallback
XtNpopdownCallback
XtNoverrideRedirect
XtNvisual
CLASS HIERARCHY Object(3)Rect(3)UnNamedObj(3)Core(3)Composite(3)Shell(3)CALLBACKS CONVENIENCE FUNCTIONS SEE ALSO LessTif Project October 1998 Shell(3)