First  |  Prev |  Next  |  Last
Pages: 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
how to log comman to a file ?
On 4月22日, 下午7時50分, Ed Morton <mortons...(a)> wrote: On 4/22/2010 12:30 AM, moonhkt wrote: Hi All System  :AIX 5.3 I prepare procedure for Database activity to other party. I want log each command to a file. how to log commad to a file ? e.g. ls -lt *... 23 Apr 2010 17:39
Splitting output to stderr
Sometimes I use the 'tee' command so that I can see output while it's being generated, but still saving it to a file. It would be nice if I could see the output, but still redirect the output to a pipe: data_maker | tee --use_stderr | data_taker If tee had a flag like that, I could see the data on stderr... 23 Apr 2010 21:04
How to use multiple command with in Find command?
Hi all, I have a problem while executing multiple command with in a Find command. Actually my requirement is to find a file in a specific directory and remove it and want to create a file with the same name which I have searched for. Here is what I am doing find Desktop/Test -name test -exec rm -rf {} \; -exec ... 23 Apr 2010 21:04
XTerm question: How to get current window title?
There is an escape sequence to *set* the current window title; I've used it for several years now. But how to *get* (read) the current title? Also, possibly related, what do these escape sequences do (Note: These may be rxvt-specific): <esc>[8n and <esc>[21t -- (This discussion group is about C, .... 20 Apr 2010 16:02
interactive macro in vi
How, in 'vi', do I make an interactive macro? I'm going along in insert mode and at some point I want to pull up a form and fill it in, say, Name: <enter something> Rank: <enter something> Serial Number: <enter something> and back to the normal insert mode. I've tried simply having the form as ... 20 Apr 2010 16:02
sed delete match line not work
Hi all When add for replace next is blank line. Not work. How to fix this problem ? /^$/ { N /^\n$/D } #!/bin/ksh # sed_del.ksh # 2010/04/16 sed '/^Delete Database/d /^end of message/d /^$/ { N /^\n$/D } ' sed.text sed.text sample file /* testing_email_body.txt */ UNIX... 18 Apr 2010 13:03
Calling readline functions from a bash script
Hello everybody, I'm writing a specific bash completion function from which I want to directly call a readline function (namely redraw-current-line). Is it possible to invoke those functions programmatically from a bash script, without any key press or binding involved? Thanks in advance, Andreas ... 17 Apr 2010 14:06
HDF-EOS ODL metadata parsing
>>>>> Brendan <brendandetracey(a)> writes: Ivan Shmakov <i...(a)> wrote: [...] BTW, speaking of the HDF-EOS files, is there a way to extract metadata, more straightforward than, say, the Shell functions below? (Converting the metadata to XML may be the way, but the convers... 15 Apr 2010 11:22
a better way to extract data from XHTML (XML)
IIRC, some time ago someone have asked here about a better way to extract specific data from HTML files. Having learned the basics of the XSLT 1.0 language almost two years ago, I cannot help myself feeling that it is such a way. Consider, e. g.: $ xsltproc --html href.xsl \ http://en.wikipedia.or... 16 Apr 2010 19:33
bash built-in regex : oddity
On 14.04.2010 15:56, Brendan wrote: @pk: Thanks. Changing to (aqua|terra) was the fix. I am using GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu). Quotes do not seem to upset the =~ but I will remove them for future posterity. there's the 'compat31' shell option (shopt) in bash 3.2+. If tur... 14 Apr 2010 12:09
First  |  Prev |  Next  |  Last
Pages: 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38