grep issue of escaping backticks in perl
Hi all,
i have a file where "lines have uh, or huh or uh-huh" in them
i want the line numbers with only "uh" in them
now the issue is:
in perl,
@abc = `grep -n uh $file`;
gives the result with all uh, huh, uh-huh
i tried reg-ex but it is not working properly, especially single quotes are giving some issues...
pls help
regards,
rajat
|