



Gurus,I've a command which generates output as below:foo.com shahb 485 /ms4/3C/12/70674foo.com shahb Aix /ms4/62/12/67626foo.com shahb Data_Growth /ms4/7C/1E/35066foo.com shahb "Deleted Messages" /ms4/21/08/30698foo.com shahb Drafts /ms2/31/1F/13832foo.com shahb DR /ms4/32/06/96855col 1 - d...
When I need to modify vars inside while loop, I try to use <<<$DATAinstead of <file form. I hit the problem with the <<<$DATA form, asfollows.Generally, the following two forms are expected to be equivalent,no ?:1) while read x; do ; done <file2) DATA="`cat <file`"; wh...
Sometimes I need to find two different strings in a file with onecommand. For example, I need to list the lines in the file "file_name"which has either "string_A" or "string_B". The 2 strings are totallyunrelated, so wildcard "*" is not applicable in this case. I need tokeep the correct sequence...
I start with this:my_var_a my_var_amy_var_b my_var_band want to get it to this:my-var-a "'$my_var_a'"my-var-b "'$my_var_b'"But I'm really having trouble figuring out how to replace theunderscore characters in the first word/field. I would like to keep itto using sed if p...
Eric Gisse em gnu.emacs.help escreveu :I'll assume Musharraf because Bhutto said to assume Musharraf ifanything happened to her.What the ****, I really dont know what does that have to do with Emacs....
say I have :-x=3and I want to use this variable to access the third positionalparameter of a script ($3) then the following won't work :-echo $xas that will give me the integer value "3" but I want the value of$3 which is something completely differentwhat is ksh syntax here please?e.g.# ba...
The following output from ls -lFT-rwxr-xr-x@ 1 scott scott 306 11 Jan 00:13:52 2008 cleanup.sh*-rwxr-xr-x@ 1 scott scott 42 11 Jan 00:14:24 2008 utf-8_test.sh*I understand most of what is going on here but the '@' character has mebeat as i can't find a reference to it in man ls.Al...
I have a script, in which I rsh to a host and run a command based on avariable. However, I am having issues with this portion of thescript. Would appreciate any ideas.exampleFHME=/usr/local/foo/I want to rsh to machine b from machine a and run a command as userfoofrom machine a#rsh -n machineb "...
I've asked on comp.unix.solaris, but no luck.I have a host with multiple interfaces; I wish to know the IP (belonging toone of the these multiple interfaces) is being use by my current tty/shell(started via rsh, ssh, telnet, etc) - how can I find out?(In simplest form - let's say I for...
I have a multiple comma delimited data files with 6 columns of numericdatae.g.time (s), value1, value2, value3, value4, value5time (s), value1, value2, value3, value4, value5I want to plot all of this data (time vs value, all on one plot)directly to an image file for later viewing using a shell...
Thanks Stephane,My next question then is whether there is a shell that you wouldrecommend that adheres as closely as possible to PSIX (that is, PSIXand nothing else) under a suitable mode....
Wed, 09 Jan 2008 05:30:59 +0000, John W. Krahn wrote:A federal law in which country?The video is talking about voting software for the usa. They give somestate names as examples.>It can't be Canada because we use paperballots. :-)>>>JohnIt must be nice. When I went to vote away...
