Random Thoughts

隨想雜記

Aug 13

Mysterious Shell Command.

: ${parameter:="word"}
ls $parameter

為什麼不直接像底下這樣呢?

ls ${parameter:="word"}

  1. adios reblogged this from wancw
  2. wancw reblogged this from adios and added:
    為什麼不直接像底下這樣呢?
  3. adios posted this
Page 1 of 1