3 ms·
StackOverflow stuff, for me. I always have to prepend `g!` to those. Google must index SO better or something because there's always so many more useful result
by shrimp_emoji 6y ago
StackOverflow stuff, for me. I always have to prepend `g!` to those.
Google must index SO better or something because there's always so many more useful results (particularly in the little "sub-results" below any SO result) than what DDG gives. E.g., compare:
DDG: https://duckduckgo.com/?t=ffab&q=bash+pass+argument+to+another+function&ia=web https://duckduckgo.com/?t=ffab&q=bash+pass+argument+to+anoth...
Google: https://www.google.com/search?hl=en&q=bash%20pass%20argument%20to%20another%20function https://www.google.com/search?hl=en&q=bash%20pass%20argument...
- a1a1a1a1a1a1 6y agoIt looks the info you want is in at least each of first 4 results on ddg. Specifically the 1st ddg result for me is a stackoverflow post with the question showing how to pass individual arguments and the answers explaining how to pass a variable number of arguments. (https://stackoverflow.com/questions/3811345/how-to-pass-all-arguments-passed-to-my-bash-script-to-a-function-of-mine https://stackoverflow.com/questions/3811345/how-to-pass-all-...) I would say ddg gave better results.