Variable inside -name option for find command

Hi,
I am not able to get output for find command if there are variables defined inside -name option .
Please check below example
1)

###VARIABLES DEFINED
process="fast"
temperature="125c"
voltage="0p935v"

2) I don't get output for below find command

find -L <PATH> -type f \( -name '*_${process}\_${temperature}\_${voltage}*.lib' \) -printf "%p\n"

3) I do get output if I directly give the values as below

find -L <PATH> -type f \( -name '*_fast\_125c\_0p935v*.lib' \) -printf "%p\n" 

Thanks in advance

Put double quotes instead single quote

  find -L <PATH> -type f \( -name "*_${process}\_${temperature}\_${voltage}*.lib" \) -printf "%p\n"

Hi Pravin,
Thank you for your quick response.
It works :slight_smile: