Search Results

Search: Posts Made By: asal_email2
2,265
Posted By asal_email2
Thanks Vino
Thanks :)
2,265
Posted By asal_email2
grep problem
I know that grep will display the matched line, but how about if I want to get the matched characted, for example:

file.txt contains:
Hello 123 World
This is a56 letter34
56are you su345re ?...
6,326
Posted By asal_email2
double variable substitution
Hi,

I want to substitute variable in sed using combination of name and var_$name:

name=Tom
var_$name=1

sed -n "${var_"$name"}"p < myfile

but it doesn't work, do you know what's wrong ?...
4,608
Posted By asal_email2
How about more complex problem ...
The problem above is actually come from more complex problem that I am trying to solve. And please I can't figure it out ...

Say I have main file and three reference files.
The main file contain...
4,608
Posted By asal_email2
Thanks
Thanks ! :)
4,608
Posted By asal_email2
array in awk
Hi, Can someone help me ...

I have file that contain fields, e.g

Filename start end
top1.dat 10 15
top2.dat 3 5
top3.dat 0 8
top4.dat 9 12
...

I want to...
Showing results 1 to 6 of 6

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