How to fetch process output incrementally?941 (7/3/2003 8:47:01 AM) I would like to write a program which does the following: * Log in to a remote host using ssh, telnet, ssl-telnet, or something like this. * Issue a shell command in the background � la "$CMD 1>/tmp/foo.$... kai
bash: immediate expansion in a function definition731 (7/17/2003 12:17:07 AM) Bash expansion is normally immediate: bash> foo="original foo" bash> bar=$foo bash> foo="new foo" bash> echo $bar original foo (though I know one can do things like: bar=foo; echo ${!bar} for a "pointer".) ... news9555(3)
triple grep635 (7/18/2003 7:52:33 PM) I am searching a couple hundred files for lines that meet the criteria that they have x32BIT in the line, the number in the next field is greater than 7 and the last field is 'Y'. FIELD: x32BIT 3 'Y'... fybar
New Line disapperaing337 (7/18/2003 6:36:42 PM) Hi , I am trying to read a file and then depending upon the pattern(create table) want to take some action. my script is as follows: !/usr/bin/ksh ############################# # # ... Dinesh
"uniq" command with accumulation of columns values3163 (7/18/2003 9:11:54 PM) I'm looking for a one-liner: I have a file 'x.tmp' like: A 100 B 15 C 11 A 200 A 300 B 25 Should result in the following: One line per Key (the first field in the line is the key) with the sum of the second f... Juergen_Fischer
upload from a PC to Unix492 (7/17/2003 3:42:38 AM) I have this telnet software called NetTerm which seems to work when I try and download a file from Unix to my PC but when I try and transfer a file from my home PC to Unix it never works... If anyone can give m... don
generating jpgs from multi-page tiffs2109 (7/18/2003 3:34:42 AM) Hi, I'm trying to generate a script that will take multi-page tiff images and convert them to separate jpg images inside a folder for each image. For example, we have a list of multi-page .tiff images called: ... gourgl
Alias vs. script: test to use?152 (7/18/2003 11:17:35 AM) Is there a good rule of thumb for deciding whether to use a script or an alias for some command sequence? A shell alias is really only good for a one-liner and no more, but sometimes I put them in scripts. I wa... stutz
Interesting issue (bash1 vs. bash2) - which is correct?130 (7/17/2003 8:36:07 PM) This is in the category of "I think this is a bug in bash1, fixed in bash2, so it is essentially moot, but I am curious as to whether this is accepted by all as the right behavior". Consider this script: #!/u... gazelle