[arch-general] Recommended reading for Shell expansion mechanism
Hi all, as I'm trying to give shell programming and things like that a start, I have a short question related to the shell expansion: I heard that it is possible to exclude things after using a wildcard like ./* for every file in the current directory. Am I right or did I misunderstand something? Is there some place on the internet where I can find things about expansions and such operations of the shell? Thanks in advance, Heiko
On 05/30, Heiko Becker wrote:
Hi all,
as I'm trying to give shell programming and things like that a start, I have a short question related to the shell expansion:
I heard that it is possible to exclude things after using a wildcard like ./* for every file in the current directory. Am I right or did I misunderstand something? Is there some place on the internet where I can find things about expansions and such operations of the shell?
Thanks in advance,
Heiko
If Bash is what you're trying to learn, I'd recommend following Greg's Wiki.[1] The section on patterns and globbing has what you're looking for.[2] [1]: http://mywiki.wooledge.org/BashGuide [2]: http://mywiki.wooledge.org/BashGuide/Patterns
On 05/30, Heiko Becker wrote:
Hi all,
as I'm trying to give shell programming and things like that a start, I have a short question related to the shell expansion:
I heard that it is possible to exclude things after using a wildcard like ./* for every file in the current directory. Am I right or did I misunderstand something? Is there some place on the internet where I can find things about expansions and such operations of the shell?
Thanks in advance,
Heiko
* Bigby James <bigby.james@crepcran.com> [2014-05-30 12:21] :
If Bash is what you're trying to learn, I'd recommend following Greg's Wiki.[1] The section on patterns and globbing has what you're looking for.[2]
[1]: http://mywiki.wooledge.org/BashGuide [2]: http://mywiki.wooledge.org/BashGuide/Patterns
Hi, I found the Advanced Bash Scripting Guide extremely valuable. http://tldp.org/LDP/abs/html/ You might be interested in these particular parts : http://www.tldp.org/LDP/abs/html/pathmanagement.html http://www.tldp.org/LDP/abs/html/globbingref.html Regards, -- Alexandre de Verteuil <claudelepoisson@gmail.com> public key ID : 0xDD237C00 http://alexandre.deverteuil.net/
Am 31.05.2014 04:47, schrieb Alexandre de Verteuil: >> On 05/30, Heiko Becker wrote: >>> Hi all, >>> >>> as I'm trying to give shell programming and things like that a start, I have >>> a short question related to the shell expansion: >>> >>> I heard that it is possible to exclude things after using a wildcard like >>> ./* for every file in the current directory. Am I right or did I >>> misunderstand something? Is there some place on the internet where I can >>> find things about expansions and such operations of the shell? >>> >>> Thanks in advance, >>> >>> Heiko > * Bigby James <bigby.james@crepcran.com> [2014-05-30 12:21] : >> If Bash is what you're trying to learn, I'd recommend following Greg's Wiki.[1] >> The section on patterns and globbing has what you're looking for.[2] >> >> [1]: http://mywiki.wooledge.org/BashGuide >> [2]: http://mywiki.wooledge.org/BashGuide/Patterns > Hi, > > I found the Advanced Bash Scripting Guide extremely valuable. > http://tldp.org/LDP/abs/html/ > > You might be interested in these particular parts : > http://www.tldp.org/LDP/abs/html/pathmanagement.html > http://www.tldp.org/LDP/abs/html/globbingref.html > > Regards, > Hey, thank you everyone. That was exactly what I was looking for and did not find. :D Wish you a nice weekend. Best regards, Heiko
That was exactly what I was looking for
It's not exactly what you requested, but you should test zsh. I think it's much better than bash.
Am 31.05.2014 10:32, schrieb Yamakaky:
That was exactly what I was looking for
It's not exactly what you requested, but you should test zsh. I think it's much better than bash.
Using zsh with grml config ^^ Maybe then I misspelled my request because I found what I was looking for :D Best regards, Heiko
participants (4)
-
Alexandre de Verteuil
-
Bigby James
-
Heiko Becker
-
Yamakaky