Thank you, Ghodmode, for your help. But I guess that I have to ask some dumb questions again. :(
What is 'dpkg-query'? I googled it and got impression that it is a linux command? However, it does not look like a conventional unix/linux command to me. And I can not find it on my linux box using...
Thanks for your advice, mtodorov69.
I have a root privilege so that I suppose I should be able to recompile it. However, is there an easy way to reset this env? I meant to set this one on in one of the system files? If so, how?
Thanks gain.
I guess I showed some dumbness in my previous post. What a shame! I forgot how to print env's, but I recalled it:
% printenv
HOSTNAME=myhost
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=::ffff:###.###.###.### 42894 22
CVSROOT=:pserver:cvs:/home/cvs
OLDPWD=/home/xxx/
SSH_TTY=/dev/pts/0...
Thank you, AdaHacker and mtodorov69, for your help.
To AdaHacker, how can I tell if vim-runtime package is installed? Where to get this package?
To mtodorov69, $ENV is not set at all. What value should it be? And here is the output of 'vim --version':
% vim --version
-bash: vim: command not...
I wrote a small perl ajax code to do the following:
A form has three input areas: first name, last name, & login ID. When a user enters first/last name and clicked the login ID area, a login ID will be automatically populated through perl ajax code. But it should also let a user to pick his/her...
Experts,
I wrote a small testing code to send email with an attachment using MIME::Lite. I can receive the email with the attachment. However, the size of the attachment is always ZERO bytes.
The following is my code:
use strict;
use MIME::Lite;
my $srceDir = './';
my $filename = $ARGV[0]...
I have been playing with CGI::Ajax these days. Lately, I noticed my code always caused an error:
... returning Bad Request status 400
Then I found out that the error was due to I named one of CGI variable names as 'fname', meaning 'First Name'. Unfortunately, this CGI variable name 'fname'...
I've been using Ubuntu over a year now. I always use vim to do the progaming work. I know vim has a feature with color syntax highlighting. But I don't know how to make it work.
I did lots of research online and tried different things in my .vimrc and .gvimrc files. However, I just could not...
I am learning ajax and perljax. I tried to install perljax in one my company's linux server but failed.
Here is the error message:
% make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_load....# Failed test...
Oh, I forgot one more thing...
Thank you, Miller, for your advice. Actually, I always use meaningful names for all variables/subroutines at work. I am the only one in my group to strictly stick to this rule. :)
Thank you all for your help and reply! And special thanks go to brigmar and Miller!!
To travs69:
No, the order is less important as long as 'bbb' & 'aaa' are in order.
To Kevin,
No, it is not a homework. I wish I was still in school. :)
Actually, I am working on an industry specific file...
Requirements:
=============
There is an array containing unknown number of elements. Among these elements, one could be 'aaa' and the other 'bbb'. The rest elements are less significant.
If this array does contain 'aaa' and/or 'bbb', a new new array '@r' will be created whose last element is...
Last October, I asked a question here about how to calculate cpu time a program consumes Thread 1294251 (http://www.tek-tips.com/viewthread.cfm?qid=1294251). With Kevin and Miller's help, I got that one solved. Thanks to Kevin and Miller!
Now I am having a similar question. This time I am...
I can not believe why such a simpel js code would not work!!
<html>
<head>
<script type="text/javascript">//<![CDATA[
function clean(str) {
var regex = /\s*/;
//var regex = /\s+/;
var nstr = str.replace(regex, '^');
alert('str = #' + str + '#, nstr = #' + nstr + '#');
//...
Thank you, Vragabond, for your explaination.
With regard to my question #3, I guess I did not make myself clear. I was looking for some sites that have css alphabetical attribute reference.
BTW, I just another one...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.