I have a file called products.kp which contains, for example,
12345678,1^M
87654321,2^M
13579123,3
when I run the command
cat products.kp| sed -f kp.sed
where kp.sed contains
s,^M,,
I get the output
12345678,1
87654321,2
13579123,3 (5 Replies)
I have searched far and wide for an explanation for some odd behavior for output redirection and haven't come up with anything.
A co-worker was working on old scripts which have run for years and embedded in their code were output redirects which worked for the script during execution and then... (5 Replies)
Dear guys;
when deleting repeated lines using nawk as below ;
Why the below syntax works?
nawk ' !a++' infile > outfile
and when using the other below syntax the nawk doesn't work?
nawk ' { !a++ } ' infile > outfile
or
nawk '
{
!a++
} ' infile > outfile
BR (4 Replies)
I have the following program:
int main(int argc, char** argv){
unsigned long int mean=0;
for(int i=1;i<10;i++){
mean+=poisson(12);
cout<<mean<<endl;
}
cout<<"Sum of poisson: "<< mean;
return 0;
}
when I run it, I get the... (4 Replies)
It is so till login screen. I mean that when I boot my computer, Ubuntu shows a splash screen with mouse instead of Ubuntu logo and in the login screen it shows XUbuntu login screen... It began when I upgraded to previous kernel, I suppose, but I'm not sure... I can't say that it annoys me very... (6 Replies)
Hello together,
i have a strange memory behavior on a AIX 7.1 System, which i cannot explain.
The Filesystem-Cache will not be grow up and drops often after few minutes. I know if a file was deleted, that the same segment in the FS-Cache will also be cleared. But i am not sure if this is the... (8 Replies)
I am not sure what is wrong, but I have some strange behavior when printing things out.
I do create a file with only one word test, no space, no new line etc.
nano file<enter>
test<ctrl x>y<enter>
Server 1 gets (fail)
awk '{print "+"$0"*"}' file
*test
Server 2 gets (OK)
awk '{print... (9 Replies)
I am trying to create an archive using tar. I am specifying a list of directories using the -L option. For testing purposes I created a simple directory structure:
/backup/test
/backup/test/test1
/backup/test/test2
The file specified by the -L option, named files.txt, contains:... (8 Replies)
Hi All,
I am facing a strange problem while grepping for a process. Here is the small script that i have written.
It will look for any process running with the parameter passed to the script.
If no process is running it should print appropriate message.
$ cat t.ksh
#!/bin/ksh
set -x
... (9 Replies)
Discussion started by: veeresh_15
9 Replies
LEARN ABOUT DEBIAN
hime
HIME(1) hime input method platform HIME(1)NAME
hime - an input method server
SYNOPSIS
hime [-h|-v|--version]
DESCRIPTION
hime 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 hime is almost as same as those of scim and xcin. Users may append their IMs to hime very eas-
ily.
If you are looking for configuration tool of hime, please see the manpage of hime-setup.
OPTIONS -h, -v, --version
Show version of hime.
FILES
/usr/share/hime/table/gtab.list
Input methods available for hime. You may copy it to $HOME/.config/hime/ and edit it as you like. If you have no $HOME/.con-
fig/hime/gtab.list, /usr/share/hime/table/gtab.list will be used.
/usr/share/hime/script/utf8-edit
A file helps hime 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=hime
For csh: setenv XMODIFIERS @im=hime
GTK_IM_MODULE
For bash: export GTK_IM_MODULE=hime
For csh: setenv GTK_IM_MODULE hime
QT_IM_MODULE
For bash: export QT_IM_MODULE=hime
For csh: setenv QT_IM_MODULE hime
HIME_CONNECT_MSG_ON
Display messages for socket connections.
HIME_DBG_TMP
Display additional debug messages.
HIME_ERR_COREDUMP
Option for debugging.
HIME_IM_CLIENT_NO_AUTO_EXEC
Disable auto-evoke in hime protocol.
HIME_OUTPUT_FILTER
Assign output filter to process data before the IM server send them to clients.
HIME_TABLE_DIR
Assign directory for IM tables other then /usr/share/hime/table.
SEE ALSO hime-setup(1), cin2gtab(1), hime-phoa2d(1), hime-juyin-learn(1), hime-message(1)AUTHORS
Edward Der-Hua Liu
Wrote hime 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.
HIME 0.8 2 FEB 2008 HIME(1)