Search Results

Search: Posts Made By: boopal
37,397
Posted By boopal
for this code im getting error like Grep:0652-033...
for this code im getting error like Grep:0652-033 Cannot open name
37,397
Posted By boopal
grep in the if condition
Hi,
In this code can able to match the pattern without case sensitive. Is that possible?
if u knw plz help me...
code:
echo "Enter name to search"
read n
if [ grep $n file ];
echo "name...
3,949
Posted By boopal
---------- Post updated at 08:00 AM ----------...
---------- Post updated at 08:00 AM ---------- Previous update was at 03:41 AM ----------

felipe.vinturinIn awk, this maybe works:


Code:
echo "Enter first_name:"read fawk -v varF="${f}"...
3,949
Posted By boopal
Help me
I ve tried like this but not getting result. Could u plz help
echo "Enter first_name:"
read f
awk 'BEGIN { INGNORECASE = 1 }
$2 == "'"$f"'" {print "name" $2,$1}' file

Thanks in Advance

How...
3,949
Posted By boopal
Select data from a file
Hi ,
I want to select data from a file .the datas in a file will be in both upper and lower case. can able to select particular data using awk.

file is like

Ram Selva 24332 UNIXTEAM
Karthi...
Showing results 1 to 5 of 5

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