Skip to main content
added 4 characters in body
Source Link
nezabudka
  • 2.5k
  • 8
  • 15
echo ${oneparam//*[^[:space:]]*/I am not zero} 
echo -n "${one//*[^[:space:]]*/I am not zero$'\n'}" 
echo ${one//*[^[:space:]]*/I am not zero} 
echo -n "${one//*[^[:space:]]*/I am not zero$'\n'}" 
echo ${param//*[^[:space:]]*/I am not zero} 
Source Link
nezabudka
  • 2.5k
  • 8
  • 15

echo ${one//*[^[:space:]]*/I am not zero} 
echo -n "${one//*[^[:space:]]*/I am not zero$'\n'}"