Skip to main content
added 2 characters in body
Source Link
ilkkachu
  • 148.1k
  • 16
  • 268
  • 441

I prefer this:

[[ $(echo $param"$param" | awk '{print NF}') -eq 0 ]] 

I prefer this:

[[ $(echo $param | awk '{print NF}') -eq 0 ]] 

I prefer this:

[[ $(echo "$param" | awk '{print NF}') -eq 0 ]] 
Basic formatting.
Source Link
Stephen Kitt
  • 483.6k
  • 60
  • 1.2k
  • 1.4k

I prefer this: [[ $(echo $param | awk '{print NF}') -eq 0 ]]

[[ $(echo $param | awk '{print NF}') -eq 0 ]] 

I prefer this: [[ $(echo $param | awk '{print NF}') -eq 0 ]]

I prefer this:

[[ $(echo $param | awk '{print NF}') -eq 0 ]] 
Source Link

I prefer this: [[ $(echo $param | awk '{print NF}') -eq 0 ]]