Search Results

Search: Posts Made By: brkavi_in
69,256
Posted By brkavi_in
how to use sleep comand for milliseconds?
how to use sleep comand for milliseconds?
2,992
Posted By brkavi_in
why shell scripting takes more time to read a file
i have done a coding in shell scripting which reads a file line by line and does something....it takes more than 30 seconds to execute for a single file. when i do the same with perl scripting it...
19,969
Posted By brkavi_in
that doesn't work vino. now tell me... i want...
that doesn't work vino.
now tell me...
i want to check if a word is present in a line,if present //do something...
like the macro can be #if or "ifdef" or "if DEFINED(FLAG)
if the line contains...
19,969
Posted By brkavi_in
Hi vino, if u get time can u try this out?...
Hi vino,

if u get time can u try this out? Execute it with ./scriptname <filename> <FLAG to be removed> as cmd line arguments

FLAG=0
FOUND=0
C="#ifdef"
T="${C} $2
exec 0<$1
set -f
while...
19,969
Posted By brkavi_in
Hi vino, thatz gr8.this too works perfectly. ...
Hi vino,
thatz gr8.this too works perfectly.
Actually my problem is something different.i thought i can get clue from this answer. but..
i wanted to remove the code present in the macros of a C...
19,969
Posted By brkavi_in
How to delete part of a file?
Suppose i have a file which contains 10 lines....
i have to delete a line which starts with the word "BEGIN"
and delete the consecutive lines till i find a start of line with the word "END"
how...
2,747
Posted By brkavi_in
Hi vino, that was perfectly working....thank...
Hi vino,
that was perfectly working....thank you very much.
sridhar,that code results in the same error....but thanks for responding.

Both of you have worked it out in ksh...
but it works in...
2,747
Posted By brkavi_in
help me ...problem in reading a file
hi,
while reading a file line by line

# name of the script is scriptrd

while read line
do
echo $line
done


while executing
bash$ ./scriptrd
if i give the input as
*

the output...
Showing results 1 to 8 of 8

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