Search Results

Search: Posts Made By: Balaji PK
3,029
Posted By Balaji PK
ahmad thank u very much..
ahmad thank u very much..
3,029
Posted By Balaji PK
well this is good. But when i change the input...
well this is good. But when i change the input file ,,i mean if i insert two more lines..it will not work..pls suggest a code that will help me even if i change the input file. the objecive is to...
3,029
Posted By Balaji PK
This is fine.. but i want it generalised. I mean...
This is fine.. but i want it generalised. I mean i should be able to give input text to it..

---------- Post updated at 05:10 AM ---------- Previous update was at 05:08 AM ----------

#sed -n...
3,029
Posted By Balaji PK
select contents between two delimiters (not working if newline in encountered)
Hi,

I am facing difficulties in selecting the contents between two delimiters when there is a new line occurs..

Eg:

>more sample.txt
abcd -- this is the first line %
efgh-- this is the ...
2,515
Posted By Balaji PK
any help for this wil also help me..
any help for this wil also help me..
3,867
Posted By Balaji PK
[KRYPTON]/appltgb/test/repc/balaji > awk -v...
[KRYPTON]/appltgb/test/repc/balaji > awk -v va="u003" '$0 ~ va,/\|\|/ {print }' s.txt
awk: syntax error near line 1
awk: bailing out near line 1


:-(
3,867
Posted By Balaji PK
this is printing everythin in the sample.txt.. I...
this is printing everythin in the sample.txt.. I want it like if my input is u003 , the out put should be" this is used for project3 "...

pls help it.

---------- Post updated at 05:06 AM...
3,867
Posted By Balaji PK
Need to print the expansion of the found string (the expansion is beween two delimiters '-' , '||'
Hi ,
could anyone help me out with this problem.
sample.txt has this content :
u001- this is used for project1 ||
u002- this is used for p2|| not to be printed
u003- this is used
for project3...
Showing results 1 to 8 of 8

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