Search Results

Search: Posts Made By: uvrakesh
6,486
Posted By uvrakesh
as per my understanding if you are looking for...
as per my understanding if you are looking for multiple replacement and change in a single command this shall work
sed -e "s/cat/lion/g" -e "s/yes/no/g' -e 's/true/false/g' -e ....... -i.backup...
2,518
Posted By uvrakesh
hint Why are you reading username when you...
hint
Why are you reading username when you are overiding that later with $1


advice
along with the question, put how did you execute the command, what output did you get like
...
Forum: Programming 12-08-2009
10,679
Posted By uvrakesh
How to use we use int64?
you could create a structure with two integer and typedef as unit64,
but the operation you are doing on this data types should be done through some function

like
int64 a = 100 /* will not work...
Forum: Programming 12-08-2009
2,920
Posted By uvrakesh
functions that manipulate void pointers
technically you cannot do deferencing on void pointer,

its better to add one more argument to function which is either a enum or integer, which could be used to identify the data type.


Best...
3,743
Posted By uvrakesh
Creating list of files in directory
fraklins codes look, easier and smart,
posting the expected output along with question is always, better than
explaining the problems in words
Forum: Programming 11-27-2009
2,862
Posted By uvrakesh
client socket
there is no errno 42
what i am pointing at is that why somebody need to print the errno, after making sure that there is no error, everything is clear from the output.
if you just make errno=0...
Forum: Programming 11-26-2009
2,862
Posted By uvrakesh
Client socket
its seems that the cout is called every time, if the connection is established/not estatblished,

please correct me, if i wrongly understood the problem
Forum: Programming 11-12-2009
3,910
Posted By uvrakesh
make help
here are some hints
->you have to use wildcard function, and you could use patsubs, subs and other patern manipulating functions
->here is a like for gnu make pdf...
1,880
Posted By uvrakesh
if you run the command stty intr "^F" ...
if you run the command
stty intr "^F"

then ^F works as a ^C

you can do the same for ^C

stty intr "^C"

now your ^C will works as you expected, let me know if you face a problem
1,880
Posted By uvrakesh
use the command stty intr "^F" for typing...
use the command
stty intr "^F"

for typing ^F you should use the following key combination

<ctrl-v><ctrl-f>

if any issue let me know

Best Regards,
Rakesh UV
2,969
Posted By uvrakesh
That was wonderful
That was wonderful
12,805
Posted By uvrakesh
awk '{if($NF ~ "ms" ){ sub("Request---","", $NF...
awk '{if($NF ~ "ms" ){ sub("Request---","", $NF ); sub("ms",""); print $NF}}' patterns | sort -n

Best Regards,
Rakesh UV
13,987
Posted By uvrakesh
hi, the direct answer for your 'why'...
hi,
the direct answer for your 'why' is
->the output is not going to std out it is going to std err


secondly how to accomplish it
->method 1
$top 2>outputOfTop
or
$top...
12,417
Posted By uvrakesh
Personally i feel that sed should be given a...
Personally i feel that sed should be given a chance then we should think about awk and perl(perl commands are more or less same like sed)

echo united | sed 's/^./\U/g'


i hope this would work...
8,324
Posted By uvrakesh
I do have a suggestion for you, dont take it...
I do have a suggestion for you, dont take it offensive,please use goggle for getting a generic idea about things and ask in forums for specific things.if the command or tool belongs to linux or gnu...
15,465
Posted By uvrakesh
if you would like the transformed value inside...
if you would like the transformed value inside the same variable then you could use

one=1
one=`printf "%04i" $one`
2,795
Posted By uvrakesh
Hi, i didn't get your question, i...
Hi,
i didn't get your question, i would like to give a sugestion, it would be always nice you can show the expected output as the part of question.
so that things becomes more...
Forum: AIX 04-23-2008
15,072
Posted By uvrakesh
Hi, ->if you feel the problem is...
Hi,
->if you feel the problem is with core, just spawn the application through gdb.
$gdb applicatonname
$run arguments to aplication
$where

this...
Forum: HP-UX 04-23-2008
9,072
Posted By uvrakesh
Hi, i suppose you are using the older...
Hi,
i suppose you are using the older version of make,use a newer version like above 3.9, you can find in hp site new make of higher version, take the source code or depot file and install it...
Forum: Programming 02-22-2008
3,245
Posted By uvrakesh
Hi Marcintom, ->i was just trying to...
Hi Marcintom,
->i was just trying to see if those checks would help you
->the error was interesting, not seen before, thats why i was keen on the version of make
->and...
Forum: Programming 02-21-2008
3,245
Posted By uvrakesh
check thest following $which make ...
check thest following
$which make
$make -f Makefile
$make install
$make hai

The first one will show you the version of the make if present
the...
32,806
Posted By uvrakesh
Suggestion debuging script would be easeier if...
Suggestion debuging script would be easeier if you add
set -vx
below #!/bin/sh

hope this will help you find you were wrong

Best Regards,
Rakesh UV
1,425
Posted By uvrakesh
Hi sam, when you try displaying some binary...
Hi sam,
when you try displaying some binary data, this happens.
Did you try executing some command on ftp, which does some activity
displaying binary data

Best Regards,
Rakesh UV
1,425
Posted By uvrakesh
Hi sam, when you try displaying some binary...
Hi sam,
when you try displaying some binary data, this happens.
Did you try executing some command on ftp, which does some activity
displaying binary data

Best Regards,
Rakesh UV
2,167
Posted By uvrakesh
I didnt had nawk, but i do have awk and gawk. i...
I didnt had nawk, but i do have awk and gawk.
i tried with that and it didnt give syntax error.
Showing results 1 to 25 of 79

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