sed or grep or awk to match very very long lines
- by yael
more file
param1=" 1,deerfntjefnerjfntrjgntrjnvgrvgrtbvggfrjbntr*rfr4fv*frfftrjgtrignmtignmtyightygjn 2,3,4,5,6,7,8,
rfcmckmfdkckemdio8u548384omxc,mor0ckofcmineucfhcbdjcnedjcnywedpeodl40fcrcmkedmrikmckffmcrffmrfrifmtrifmrifvysdfn"
need to match the content of $param1 in the file
but its not work for example
sed -n "/$param1/p" file
or any grep $param1 file etc...
any other solutions? maybe with perl?