tag:blogger.com,1999:blog-13668718.post2152613678556650160..comments2023-10-30T12:24:51.923+00:00Comments on Halis way: bash globbing and dot-filesHampushttp://www.blogger.com/profile/12826832242493809239noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-13668718.post-20832349732631669112012-12-10T23:17:27.895+00:002012-12-10T23:17:27.895+00:00Much spam here ...
spam, spam, spam, spam, SPAM, ...Much spam here ...<br /><br />spam, spam, spam, spam, SPAM, SPAM, SPAM, SPAM ...Larshttps://www.blogger.com/profile/08545508329565391928noreply@blogger.comtag:blogger.com,1999:blog-13668718.post-12278960041008790682010-05-25T16:15:48.592+01:002010-05-25T16:15:48.592+01:00I have been looking for some info about bash globb...I have been looking for some info about bash globbing and dot-files, and wow I have no idea that in the web were so many blogs related to <a href="http://www.safemeds.com/" rel="nofollow">generic viagra</a>, but anyways, thanks for sharing your inputs and have a nice day.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-13668718.post-50347298934567639302009-07-09T11:01:34.529+01:002009-07-09T11:01:34.529+01:00You can easily include dot-files when globbing by ...You can easily include dot-files when globbing by using an extra parameter:<br /><br />ls -l * .*<br /><br />(Note the space between the * and the .*)<br /><br />Or just the dot-files with:<br /><br />ls -l .*Ladadadadahttps://www.blogger.com/profile/06456854194133474197noreply@blogger.comtag:blogger.com,1999:blog-13668718.post-72084767426568452262008-06-05T15:01:00.000+01:002008-06-05T15:01:00.000+01:00I just used the dotglob option to rundu -sm * |sor...I just used the dotglob option to run<BR/>du -sm * |sort -g<BR/>and see all files/dirs in my list of biggest dirsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-13668718.post-194648617742599322008-02-14T15:49:00.000+00:002008-02-14T15:49:00.000+00:00I just ran into the case-insensitive file glob "fe...I just ran into the case-insensitive file glob "feature". It is a broken shell in my opinion. I'm not trying to find out how to turn it off so it works like every other shell on the planet.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-13668718.post-50920876235986085512007-02-01T20:22:00.000+00:002007-02-01T20:22:00.000+00:00-A is the equivalent of -a but does not show "." a...-A is the equivalent of -a but does not show "." and "..".<br />And I agree, I don't want to see dot-files all the time either. But sometimes I want * to mean everything, perhaps in a scripts.<br />Even with dotglob active, "ls -l" with not show dot-files, only wild card expansion will include dot-files.Hampushttps://www.blogger.com/profile/12826832242493809239noreply@blogger.comtag:blogger.com,1999:blog-13668718.post-76109788300835451022007-02-01T19:22:00.000+00:002007-02-01T19:22:00.000+00:00Wouldn't it be easier to just use -a when you want...Wouldn't it be easier to just use -a when you want to see dot-files? I don't know if I'd want to see dot-files all of the time.Donhttps://www.blogger.com/profile/14419852179273345993noreply@blogger.com