Running two JVM ( different version ) on windows Hello guys, I am trying to find out whether it is OK or not to run multiple JVM's, possibly of different version ? I believe it is OK with linux, but how about windows ? Any help would be great. Thanks Kihwan ... 30 Mar 2010 19:31
A Free Business Directory with Trading Platform. Add your Company A Free Business Directory with Trading Platform. Add your Company Complete Profile, Add your Product/Service with keywords. Visit http://addhand.com , Register and trade with world for FREE. Regards John Moore ... 30 Mar 2010 17:14
changing the second + in a bash script On 3/29/2010 9:05 PM, houghi wrote: I have a bash script that does the following: DIFF=`xwininfo|grep 'Corners'|awk '{print $2}'` You never need grep if you're already using awk, the above is equivalent to: DIFF=`xwininfo| awk '/Corners/{print $2}'` This will give an otput like: DIFF=+82+24 or DI... 30 Mar 2010 00:43
use variable to do some substitution with awk. Hi all, In awk, we can substitute "foo" with "bar" ONLY for lines which contain "baz" using the following code: awk '/baz/{gsub(/foo/, "bar")}; 1' Now, I want to know how can I let the baz part get its value from a variable. I've tried the following code but failed: awk -v mybaz="baz" '/mybaz/{gsub(/foo... 30 Mar 2010 17:14
building the printf format for a variable number of args I want to write a script which produces output for any number of months throughout the year. Thus, as the script compiles data from each month of the year, it saves the totals for each month in a pseudo Bourne shell array. Thus, it might have 3 totals for 2010 (so far). As the script processes each month in a loo... 31 Mar 2010 07:37
List full path and file name for selected directory Hi All I try to list out all the files under particular directory. Some files without extension. How to ignore Directory by ls ? e.g. #!/bin/ksh MDIR=/phx/migration for i in $MDIR/load $MDIR/src do echo $i cd $i CURRDIR=`pwd` echo CURRDIR=$CURRDIR ls * *.* done ... 30 Mar 2010 11:38
Sed & Awk (was: Re: Printf - Columns/Tables) On comp.unix.shell, Ed Morton <mortonspam(a)gmail.com> wrote: On 3/28/2010 2:42 PM, Sidney Lambe wrote: On comp.unix.shell, Ed Morton<mortonspam(a)gmail.com> wrote: On 3/27/2010 9:28 PM, Sidney Lambe wrote: [delete awk propaganda from a fanatic] Sed and /bin/printf can do anything awk can do and are les... 30 Mar 2010 21:50
ln-s does not work.. why? (using cygwin in Windows XP) I am using Windows XP and using cygwin. For all these years... I was successful to create symbolic links like this... in the directory /cgydrive/c/x (which is the same as /c/x in my computer) Administrator(a)bfs /c/x $ ln -s '\\bfs\h$' csprod_h And, I have a few of those old symlinks... for which I can do lik... 7 Apr 2010 00:16
$'foo\nbar\n' syntax (was: Re: bash printing variable withnewlines) On 2010-03-28, Jean-Rene David wrote: .... I had forgotten about the $'foo\nbar\n' syntax. What is it called again? I didn't see it in the 'Parameter Expansion' section of the Posix standard. In fact I found: 2.6 Word Expansions [...] The '$' character is used to introduce parameter expans... 28 Mar 2010 18:59
$'foo\nbar\n' syntax (was: Re: bash printing variable with newlines) * Janis Papanagnou [2010.03.27 09:02]: Cat 22 wrote: In a bash script I have a variable called recs recs="this is line 1\r\nThis is line 2\r\nthis is line3\r\n" In your string a sequence of \r\n is four characters, \ r \ and n. Below I see ^M (ctrl-M) and you're speaking of OD OA sequences, so I ... 28 Mar 2010 16:46 |