Search Results

Search: Posts Made By: ramkumar_gr
Forum: SuSE 06-16-2005
7,188
Posted By ramkumar_gr
Why dont you check the size of the downloaded...
Why dont you check the size of the downloaded file's size in an interval of say 30 secs, if they are same, it is inferred the FTP is completed.
7,475
Posted By ramkumar_gr
use awk
ls -l | awk '{print $9}'
6,513
Posted By ramkumar_gr
sed
sed -e '/\-/ s/M/S/' m.txt -ne '/\#/ s/M/X/' m.txt

I have not tested it. Pls. check.

Ram
3
5,726
Posted By ramkumar_gr
Thanks Pressy
Thanks Pressy. That was a very useful link.
12,920
Posted By ramkumar_gr
Example for using pipes
/***** File: pipe.c *****/
#include <stdio.h>
#include <string.h>
#include <sys/wait.h>

int main(int argc, char *argv[])
{ int p[2];
int i, pid, status;
char buffer[20]; ...
3,522
Posted By ramkumar_gr
assume the name of the input file is a.txt ...
assume the name of the input file is a.txt

you do

grep " Rd (702)" a.txt > b.txt

grep -v "Rd (702)" a.txt | sed -e '/s/rd/rd \(702\)/' >> b.txt

Now you required output will be in the file...
12,920
Posted By ramkumar_gr
You can use pipes for this
So you have two child processes and one parent process.

Create a pipe and have a "write to pipe" in each of the child processes
as the last statement in the child process.

and you have only...
Forum: Programming 05-31-2005
4,994
Posted By ramkumar_gr
Use Scanset operators
You can use scanset operator [] for this.
7,263
Posted By ramkumar_gr
or else you can use expr substr command e.g....
or else you can use expr substr command
e.g. `expr substr $var 1 2`
2,630
Posted By ramkumar_gr
Hi, i am able to do that by using...
Hi, i am able to do that by using LD_LIBRARY_PATH. thanks for your suggestions.
2,630
Posted By ramkumar_gr
Clarification about shared Libraries
I have a doubt about the shared libraries. Where do you set the path for the shared libaries, for the dynamic loader to locate. Any suggestion would be of great help. thanks
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 09:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy