Tag: arguments

60 votes
29 answers
1.5K views
Argument list too long error for rm, cp, mv commands

I have several hundred PDFs under a directory in UNIX. The names of the PDFs are really long (approx. 60 chars

avatar
Frederick
0 1 0 9
asked 07 September, 2021
59 votes
15 answers
385 views
How to deal with name/value pairs of function arguments in MATLAB

I have a function that takes optional arguments as name/value pairs. function example(varargin) % Lots of set

avatar
Bryan
0 1 0 9
asked 07 September, 2021
57 votes
16 answers
1.4K views
How do I set default values for functions parameters in MATLAB?

Is it possible to have default arguments in MATLAB? For instance, here: function wave(a, b, n, k, T, f, flag,

avatar
Elicia
0 1 0 9
asked 07 September, 2021
65 votes
30 answers
1K views
How do I pass command line arguments to a Node.js program?

I have a web server written in Node.js and I would like to launch with a specific folder. I'm not sure ho

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
62 votes
21 answers
2.2K views
Reference — What does this symbol mean in PHP?

What is this? This is a collection of questions that come up every now and then about syntax in PHP. This is a

avatar
Lynette
0 1 0 9
asked 07 September, 2021