Hi,
I'm a beginner in scripting and I recently wrote a bash script that would've worked fine until I realized it needed to be written in csh. Could someone please show me how to correctly change the syntax from bash to csh in this script? Any help will be greatly appreciated. I can provide more... (4 Replies)
hi,
i have a script that runs on bash and would like to run it on a machine that has csh and bash. the default setting on that machine is csh. i dont want to change my code to run it with a csh shell. is there any way i can run the script (written in bash) on this machine? in other words is there... (3 Replies)
I am working on a script that checks two arguments at the command line. The first argument is a search pattern, the second can be a file or a directory, if it is a file a second script is called that checks it for the search pattern. If the second argument is a directory, it checks for the search... (5 Replies)
How can I change the cron entries only for ABC and XYZ from dosomething_1.0.sh to nowchanged_2.0 using a bash script ?
Any help will be appreciated.
#
# ABC
00,05,10,15,20,25,30,35,40,45,50,55 * * * * /mydir/dosomething_1.0.sh 1>/dev/null 2>&1
#
#
##
# DEF... (4 Replies)
Hi,
I have a csh:
set NODES = `cat $HOST_FILE`
set NODELIST = $TMPDIR/namd2.nodelist
echo group main >! $NODELIST
foreach node ( $NODES )
echo host $node >> $NODELIST
end
@ NUMPROCS = 2 * $#NODES
I am very frustrated to translate it to bash:
NODES = `cat... (3 Replies)
Hi,
i am a beginner in ubuntu. my default shell is bash. everytime i try to change the shell with command "csh", i get a message (probably an error message). after i get into c-shell, when i try to execute a c shellscript, then it showed the same message. any idea about what is this about or any... (1 Reply)
I have the following script set up and working properly in bash. It basically copies a set of lines which match "AS1100002" from one file and replaces the same lines in another file.
awk -vN=AS1100002* 'NR==FNR { if($1 ~ N)K=$0; next }
{ if($1 in K) $0=K; print }' $datadir/file1... (7 Replies)
I am trying to change dates in a bash script.
I have a start time and an endtime and want to increment the times. Basically
the month and day have to be incremented in a loop to create two strings, stm and
etm defining the start and end times.
stm="2014-05-13T00:00:00"... (4 Replies)
Discussion started by: novilatte
4 Replies
LEARN ABOUT DEBIAN
gcin
GCIN(1) gcin input method platform GCIN(1)NAME
gcin - an input method server
SYNOPSIS
gcin [-h|-v|--version]
DESCRIPTION
gcin is an input method(IM) server, which focused mainly on Traditional Chinese. It is also very useful for Simplified Chinese, Japanese,
and many other languages. IM table format of gcin is almost as same as those of scim and xcin. Users may append their IMs to gcin very eas-
ily. The "g" of gcin means that it features a better GTK+ user interface.
If you are looking for configuration tool of gcin, please see the manpage of gcin-tools.
OPTIONS -h, -v, --version
Show version of gcin.
FILES
/usr/share/gcin/table/gtab.list
Input methods available for gcin. You may copy it to $HOME/.gcin/ and edit it as you like. If you have no $HOME/.gcin/gtab.list,
/usr/share/gcin/table/gtab.list will be used.
/usr/share/gcin/script/html-browser
A file helps gcin finding html browsers when needed. You may add any compatible html browser to it.
/usr/share/gcin/script/utf8-edit
A file helps gcin finding text editors when needed. You may add any UTF-8 compatible text editor to it.
ENVIRONMENT VARIABLES
LC_CTYPE
For bash: export LC_CTYPE=zh_TW.UTF-8
For csh: setenv LC_CTYPE zh_TW.UTF-8
XMODIFIERS
For bash: export XMODIFIERS=@im=gcin
For csh: setenv XMODIFIERS @im=gcin
GTK_IM_MODULE
For bash: export GTK_IM_MODULE=gcin
For csh: setenv GTK_IM_MODULE gcin
QT_IM_MODULE
For bash: export QT_IM_MODULE=gcin
For csh: setenv QT_IM_MODULE gcin
GCIN_CONNECT_MSG_ON
Display messages for socket connections.
GCIN_DBG_TMP
Display additional debug messages.
GCIN_ERR_COREDUMP
Option for debugging.
GCIN_IM_CLIENT_NO_AUTO_EXEC
Disable auto-evoke in gcin protocol.
GCIN_OUTPUT_FILTER
Assign output filter to process data before the IM server send them to clients.
GCIN_TABLE_DIR
Assign directory for IM tables other then /usr/share/gcin/table.
SEE ALSO gcin-tools(1), gcin2tab(1), phoa2d(1), juyin-learn(1), gcin-message(1)AUTHORS
Edward Der-Hua Liu
Wrote gcin and associated tools.
Friend of Chanjei IM, Malaysia <www.chinesecj.com>
Author of original Chanjei IM version 5 table.
Dayi Co., Ltd. <http://www.dayi.com>
Author of Dayi IM.
GCIN 1.4.4 2 FEB 2008 GCIN(1)