wildcard-expansion Questions

2

Solved

My program has to watch for files which match a mask. The folder name and mask are passed through command line arguments. But the mask is replaced by the first match before I can use it! Double qu...
Marlyn asked 20/9, 2014 at 12:21

3

I've written a bash script that needs to do something later. It's called something like this: later mv *.log /somewhere/else However, when called like this *.log is expanded at call time, and th...
Conto asked 3/8, 2012 at 0:15

4

I've tried the following command but I don't understand the results: ls ** What does ** mean? How should I use it?
Procrastinate asked 27/1, 2015 at 17:38

1

Solved

I wrote a code which has to display main parameters, but when I compiled it and typed in "*" program shows my file structure. Command in cmd looks like this: program.exe 1 2 3 * #include ...

2

Solved

This is quite an easy one for you guys, but I can't find a definitive/formal answer to this question. Suppose we are in directory A. Then, "A/* " probably means: Every file and folder directly i...
Alternation asked 19/12, 2014 at 22:11

4

Solved

Is there any way for a compiled command-line program to tell bash or csh that it does not want any wildcard characters in its parameters expanded? For instance, one might want a shell command like...
Glochidiate asked 12/7, 2012 at 16:30

0

I'm building a command line tool which will need to resolve a set of files and folders based on one or more relative paths that contain single (*) wildcards, as well as any-depth-folder (**) wildca...

2

Solved

How do I escape a wildcard expansion in a variable name? CP="lib/*" COMMAND="java $VARIABLES -cp $CP SomeClass" echo $COMMAND Echoing the command always causes wildcard expansion.
Gauldin asked 4/6, 2012 at 21:40
1

© 2022 - 2024 — McMap. All rights reserved.