Search Results

Search: Posts Made By: emjayshaikh
10,697
Posted By emjayshaikh
i used perl to solve the problem i had. thanks. ...
i used perl to solve the problem i had. thanks.

#!/usr/bin/perl
$n = `egrep -n "string" filename | egrep -o "[[:digit:]]{1,}" | sed q`;
$m = `egrep -n "string" filename | egrep -o...
10,697
Posted By emjayshaikh
Help with arithmetic operation
I am using egrep to extract numbers from a file and storing them as variables in a script. But I am not able to do any arithmetic operations on the variables using "expr" because it stores them as...
Showing results 1 to 2 of 2

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