sed

Hello All,
I inherited a korn shell script that in there I have line that says
file-list=$(ls -l | sed -n "/$today/,\$p"). I want to change it to
file-list=$(ls -l | sed -n "*\-today\-*/,\$p") but is not working. Appreciate any help.

You are missing the initial "/" in your new statement also the * at the bginning does not make any sense. In regular expression * does not match to "anything" like in shell GLOB patterns. It means 0 or more matches of the preceeding character.