Quantcast
Channel: What is the difference between $* and $@? - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 12

Answer by isomorphismes for What is the difference between $* and $@?

$
0
0

One of the answers says $* (which I think of as a "splat") is rarely useful.

I search google with G() { IFS='+' ; w3m "https://encrypted.google.com/search?q=$*" ; }

Since URL’s are often split with a +, but my keyboard makes   easier to reach than +, $* + $IFS feel worthwhile.


Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>