I have a program in shell which is reading default values from a file
filename: default
Now the code calling is
So basically if any value to -D is given PDN gets that, else it gets the value of MAN.. now $MAN is giving an output but $PDN (when not set @ runtime) is not setting itself to $MAN..
HELLO ALL,
URGENTLY NEEDED A SCRIPT TO SELECT AND DELETE LOWER AND MIXED CASE RECORDS FROM A COLUMN IN A TABLE.
FOR EXAMPLE : Table name is EMPLOYEE and the column name is CITY
and the CITY column records will be: Newyork
washington
... (1 Reply)
Hi,
I have a getopts that works fine if I provide an option but I want it to exit if nothing is given, but for some reason it drops out and continues with the script. Any ideas?
while getopts d:m:y: o
do
case $o in
d) day=$OPTARG
;;
... (1 Reply)
Hi all,
i have a data array as followes.
ARRAY=DFSG345GGG
ARRAY=234FDFG090
ARRAY=VDFVGBGHH
so on..........
i need all english letters to be change to lower case. So i am expecting to see
ARRAY=dfsg345ggg
ARRAY=234fdfg090
ARRAY=vdfvgbghh
so on........
If i have to copy this data in... (8 Replies)
hi, here is a ksh script i wrote using getopts...
i want to find out how i can run it in default mode when no option is mentioned and no arguments are provided... ?
i.e if the script name is final1, then just running final1 should run in default mode....
while getopts 1:2:3:4: mode ... (1 Reply)
Hi
I want to make string substitution ignoring case for search but respecting case for subtitute. Ex changing all occurences of "original" in a file to "substitute":
original becomes substitute
Origninal becomes Substitute
ORIGINAL becomes SUBSTITUTE
I know this a little special but it's not... (1 Reply)
Hello Unix Gurus :
It would be really appreciative if can find a solution for this .
I have records in a file .
I need to Capitalize the records based on condition .
For Example i tried the following Command
COMMAND -->
fgrep "2000YUYU" /export/home/oracle/TST/data.dat | tr '' ''... (12 Replies)
Hi all,
I am trying to find a way to change first letter in a word from lower case to upper case. It should be done for each first word in text or in paragraph, and also for each word after punctuation like
. ; : ! ?I found the following command
sed -i 's/\s*./\U&\E/g' $@ filenamebut... (7 Replies)
Hello everyone,
I need help in understanding the default value for getopts option's argument in ksh. I've written a short test script:
#!/bin/ksh
usage(){
printf "Usage: -v and -m are mandatory\n\n"
}
while getopts ":v#m:" opt; do
case $opt in
v) version="$OPTARG";;
... (1 Reply)
Discussion started by: da1
1 Replies
LEARN ABOUT DEBIAN
cwnn
CWNN(7) Miscellaneous Information Manual CWNN(7)NAME
cWnn - A Chinese Input System Running on Unix Workstations.
DESCRIPTION
cWnn provides a wide range of input methods, satisfying the needs of Chinese users all over the world, including P.R.China and Taiwan.
Besides, it is capable of converting an arbitrary sequence of Pinyin/Zhuyin into the expected Hanzi and caters for error tolerance in the
four tones.
cWnn has standardized Pinyin and Zhuyin and it provides an ideal input environment for all users.
COMMANDS AVAILABLE IN MAN FILE
1. Startup of the server - cserver
2. Startup of the front-end processor - cuum
3. Current usage status of the server - cwnnstat
4. Termination of the server - cwnnkill
5. Rewrite of dictionary header - cwnntouch
UTILITIES AVAILABLE IN MAN FILE
1. Creation of binary format dictionary - catod
2. Restoration of text format dictionary - cdtoa
3. Creation of binary format grammar file - catof
4. Registration of characters/words into a - cwdreg
specified dictionary
5. Deletion of characters/words from a specified - cwddel
dictionary
6. Sorting of a specified text format dictionary - cdicsort
MISCELLANEOUS INFORMATION
1. cWnn installation - cinstall
2. cWnn startup and termination - cstartend
3. cWnn function keys - ckey
4. cWnn environment operation function - cenv
13 May 1992 CWNN(7)