WLUG
By thread
wlug@lists.wlug.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- 11224 messages
Re: [Wlug] Minecraft security
by Randall Mason
I assume your grandson would be playing on a "safe" computer. Is the
minecraft server hosted locally or on a remote server? Will it run on a
"safe computer"? Would it just work to put a temporary router between your
main router and the Internet source?
What is the current topology of your network?
Computers -> Linksys -> Cable Modem?
I would just put an old router or computer set up as a router between your
main one and the cable modem if that's an option:
Safe Computers -> Linksys -> Old Router -> Cable Modem
Unsafe Computers --WiFi/LAN----^
If this old router is a computer, you can even set up the minecraft server
on it and then everybody, even the "Safe Computers" can access it. If
not, you can port foward on the Linksys like in the tutorial:
http://minecraft.gamepedia.com/Tutorials/Setting_up_a_server#Port_forwarding
I would also set the "Linksys" to be the DMZ for the "Old Router" just so
that any UPnP ports from the safe computers still get back to them.
Or is it something like Computers -> FiOS Router/Modem?
This would be a harder topology to do, but you can still set up a three
layer network like:
Safe Computers -> Linksys -> Old Router -> FiOS Router/Modem
Unsafe Computers --WiFi/LAN----^
All of this would probably be pretty plug and play as long as you set the
IP address of the routers to different subnets. E.G.:
192.168.0.1
192.168.1.1
and
192.168.2.1
Randall Mason
clashthebunny(a)gmail.com
On Mon, Jun 22, 2015 at 1:21 PM, Joel <joelgroup(a)gmail.com> wrote:
> I don't have an answer for this one.
>
> But do have an 8 year old minecraft fan, so listening for any answers.
>
> Joel
>
>
> On June 22, 2015 12:00:24 PM wlug-request(a)mail.wlug.org wrote:
>
> > Send Wlug mailing list submissions to
> > wlug(a)mail.wlug.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://mail.wlug.org/mailman/listinfo/wlug
> > or, via email, send a message with subject or body 'help' to
> > wlug-request(a)mail.wlug.org
> >
> > You can reach the person managing the list at
> > wlug-owner(a)mail.wlug.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Wlug digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Minecraft server security ... (David Glaser)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 21 Jun 2015 19:32:05 -0400
> > From: David Glaser <dglaser(a)glaserresearch.net>
> > Subject: [Wlug] Minecraft server security ...
> > To: Worcester Linux Users Group <wlug(a)mail.wlug.org>
> > Message-ID: <55874975.1080808(a)glaserresearch.net>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Folks,
> >
> > My grandson wants to host a minecraft server party for his boy scout
> > troop and my daughter and I are wondering how to ensure that the
> > existing machines on her home network are not compromised given that the
> > members of the troop will be bringing their own machinesand ethernet
> > switchesalthough some may be running wireless.
> >
> > I was wondering if you could give us some thoughts on how to set up the
> > network. It is my understanding that the minecraft clients do need to
> > get out to the internet to obtain a valid player name. I had thought
> > ofsetting up a seperate Router/Lan for the party, disconnecting the
> > existing router/lan from the wan and connecting the minecraft router/lan
> > to the wan for the duration of the party.
> >
> > Any thoughts out there?
> >
> > -David
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> >
> http://mail.wlug.org/pipermail/wlug/attachments/20150621/026af173/attachmen…
> >
> > ------------------------------
> >
> > _______________________________________________
> > Wlug mailing list
> > Wlug(a)mail.wlug.org
> > http://mail.wlug.org/mailman/listinfo/wlug
> >
> >
> > End of Wlug Digest, Vol 140, Issue 9
> > ************************************
>
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
June 22, 2015
Minecraft security
by Joel
I don't have an answer for this one.
But do have an 8 year old minecraft fan, so listening for any answers.
Joel
On June 22, 2015 12:00:24 PM wlug-request(a)mail.wlug.org wrote:
> Send Wlug mailing list submissions to
> wlug(a)mail.wlug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.wlug.org/mailman/listinfo/wlug
> or, via email, send a message with subject or body 'help' to
> wlug-request(a)mail.wlug.org
>
> You can reach the person managing the list at
> wlug-owner(a)mail.wlug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wlug digest..."
>
>
> Today's Topics:
>
> 1. Minecraft server security ... (David Glaser)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 21 Jun 2015 19:32:05 -0400
> From: David Glaser <dglaser(a)glaserresearch.net>
> Subject: [Wlug] Minecraft server security ...
> To: Worcester Linux Users Group <wlug(a)mail.wlug.org>
> Message-ID: <55874975.1080808(a)glaserresearch.net>
> Content-Type: text/plain; charset="utf-8"
>
> Folks,
>
> My grandson wants to host a minecraft server party for his boy scout
> troop and my daughter and I are wondering how to ensure that the
> existing machines on her home network are not compromised given that the
> members of the troop will be bringing their own machinesand ethernet
> switchesalthough some may be running wireless.
>
> I was wondering if you could give us some thoughts on how to set up the
> network. It is my understanding that the minecraft clients do need to
> get out to the internet to obtain a valid player name. I had thought
> ofsetting up a seperate Router/Lan for the party, disconnecting the
> existing router/lan from the wan and connecting the minecraft router/lan
> to the wan for the duration of the party.
>
> Any thoughts out there?
>
> -David
>
June 22, 2015
Minecraft server security ...
by David Glaser
Folks,
My grandson wants to host a minecraft server party for his boy scout
troop and my daughter and I are wondering how to ensure that the
existing machines on her home network are not compromised given that the
members of the troop will be bringing their own machinesand ethernet
switchesalthough some may be running wireless.
I was wondering if you could give us some thoughts on how to set up the
network. It is my understanding that the minecraft clients do need to
get out to the internet to obtain a valid player name. I had thought
ofsetting up a seperate Router/Lan for the party, disconnecting the
existing router/lan from the wan and connecting the minecraft router/lan
to the wan for the duration of the party.
Any thoughts out there?
-David
June 21, 2015
Re: [Wlug] ls character range wildcard oddity?
by Steve Revilak
>brett@spider /tmp/test $ \ls
>apple Berry
>
>This is what I'd expect to see:
>
>brett@spider /tmp/test $ \ls [a-b]*
>apple
>
>This makes no sense. Is this a bug?:
This is probably more bash than ls. When you use `*' on a command
line, the shell does filename glob expansion; the results of the glob
expansion become arguments (to ls, in this case).
Out of the box, I've always seen bash do case sensitive globs, but you
can change this.
# four files
$ touch ax Ax bx Bx
# all files starting with `a'
$ ls a*
ax
# make glob expansion case insensitive
$ shopt -s nocaseglob
$ ls a*
Ax ax
# make it case sensitive again
$ shopt -u nocaseglob
$ ls a*
ax
If you actually want to see how the glob is expanded
$ sh -x -c "ls [aA]*"
+ ls Ax ax <<< glob expansion
Ax ax
Steve
June 19, 2015
Re: [Wlug] ls character range wildcard oddity?
by Dennis Payne
Interesting. I see the same behavior. Near as I can tell bash decided
that the alphabet is:
aAbBcCdD...
I wouldn't expect that to be the case but when I played around with
various file name that was the behavior I saw. So [a-c] includes
upercase B while [a-b] does not. 'ls [A-c]*' will show Berry but not
apple.
On Fri, 2015-06-19 at 09:29 -0400, Brett Russ wrote:
> Can someone explain this to my evidently inadequately caffeinated
> brain? I was trying to use a lower case character range wildcard to
> list all files not starting with an uppercase letter and I noticed it
> wasn't working as I'd expect. So I created this simple example and
> still don't understand what's happening.
>
> Dir with two files:
>
> brett@spider /tmp/test $ \ls
> apple Berry
>
> This is what I'd expect to see:
>
> brett@spider /tmp/test $ \ls [a-b]*
> apple
>
> This makes no sense. Is this a bug?:
>
> brett@spider /tmp/test $ \ls [a-c]*
> apple Berry
>
> From here on are just a few extra examples confirming the oddity of
> the above.
>
> brett@spider /tmp/test $ \ls [a]*
> apple
>
> brett@spider /tmp/test $ \ls [b]*
> ls: cannot access [b]*: No such file or directory
>
> brett@spider /tmp/test $ \ls [c]*
> ls: cannot access [c]*: No such file or directory
>
> brett@spider /tmp/test $ \ls a*
> apple
>
> brett@spider /tmp/test $ \ls b*
> ls: cannot access b*: No such file or directory
>
> brett@spider /tmp/test $ \ls c*
> ls: cannot access c*: No such file or directory
>
> brett@spider /tmp/test $ dpkg -S `which ls`
> coreutils: /bin/ls
>
> brett@spider /tmp/test $ dpkg -s coreutils
> Package: coreutils
> Essential: yes
> Status: install ok installed
> Priority: required
> Section: utils
> Installed-Size: 6020
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss(a)lists.ubuntu.com>
> Architecture: amd64
> Multi-Arch: foreign
> Version: 8.21-1ubuntu5.1
> [SNIP]
>
>
> Thanks,
> Brett
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
June 19, 2015
Re: [Wlug] ls character range wildcard oddity?
by Brett Russ
Ted, Chris,
Thanks for straightening me out on this! Haven't had to pay much attention
to locale before. Makes sense.
-Brett
On Fri, Jun 19, 2015 at 10:22 AM, Chris Thompson <wolcen(a)riseup.net> wrote:
> Well, this may not get you only a subset of lower-case letters, but it
> does at least limit to lower case: [[:lower:]]. More details below.
>
> e.g.:
>
> ls [[:lower:]]*
>
> Regards,
> Chris
>
> See also:
>
> http://www.tldp.org/LDP/GNU-Linux-Tools-Summar/html/x11655.htm#STANDARD-WIL…
>
>
> man 7 glob
> ----------
>
> Character classes and internationalization
> Of course ranges were originally meant to be ASCII ranges, so
> that "[ -%]" stands for "[ !"#$%]" and "[a-z]" stands
> for "any lowercase letter". Some UNIX implementations
> generalized this so that a range X-Y stands for the set of
> characters with code between the codes for X and for Y.
> However, this requires the user to know the character cod‐
> ing in use on the local system, and moreover, is not convenient
> if the collating sequence for the local alphabet
> differs from the ordering of the character codes. Therefore,
> POSIX extended the bracket notation greatly, both for
> wildcard patterns and for regular expressions. In the above we
> saw three types of items that can occur in a bracket
> expression: namely (i) the negation, (ii) explicit single
> characters, and (iii) ranges. POSIX specifies ranges in
> an internationally more useful way and adds three more types:
>
> (iii) Ranges X-Y comprise all characters that fall between X and
> Y (inclusive) in the current collating sequence as
> defined by the LC_COLLATE category in the current locale.
>
> (iv) Named character classes, like
>
> [:alnum:] [:alpha:] [:blank:] [:cntrl:]
> [:digit:] [:graph:] [:lower:] [:print:]
> [:punct:] [:space:] [:upper:] [:xdigit:]
>
> so that one can say "[[:lower:]]" instead of "[a-z]", and have
> things work in Denmark, too, where there are three
> letters past 'z' in the alphabet. These character classes are
> defined by the LC_CTYPE category in the current
> locale.
>
> On 06/19/2015 09:58 AM, Theodore Ruegsegger wrote:
> > It looks like a locale issue. In the old "C" locale, sorting a list
> > put all cap letters before all lowercase letters. In the "en_US.UTF-8"
> > locale, apparently the Ubuntu default, they're sorted as in a regular
> > dictionary, regardless of caps.
> >
> > For example:
> >
> > ls
> > apple berry Berry charlie
> >
> > Hope that's more helpful than my first response!
> > Ted
> >
> > On Fri, Jun 19, 2015 at 9:46 AM, Theodore Ruegsegger <gruntly(a)gmail.com>
> wrote:
> >> Disregard last transmission. I shoulda read your post more carefully.
> >>
> >> Ted
> >>
> >> On Fri, Jun 19, 2015 at 9:44 AM, Theodore Ruegsegger <gruntly(a)gmail.com>
> wrote:
> >>> b != B
> >>>
> >>> HTH,
> >>> Ted
> >>>
> >>> On Fri, Jun 19, 2015 at 9:29 AM, Brett Russ <bruss(a)alum.wpi.edu>
> wrote:
> >>>> Can someone explain this to my evidently inadequately caffeinated
> brain? I
> >>>> was trying to use a lower case character range wildcard to list all
> files
> >>>> not starting with an uppercase letter and I noticed it wasn't working
> as I'd
> >>>> expect. So I created this simple example and still don't understand
> what's
> >>>> happening.
> >>>>
> >>>> Dir with two files:
> >>>>
> >>>> brett@spider /tmp/test $ \ls
> >>>> apple Berry
> >>>>
> >>>> This is what I'd expect to see:
> >>>>
> >>>> brett@spider /tmp/test $ \ls [a-b]*
> >>>> apple
> >>>>
> >>>> This makes no sense. Is this a bug?:
> >>>>
> >>>> brett@spider /tmp/test $ \ls [a-c]*
> >>>> apple Berry
> >>>>
> >>>> From here on are just a few extra examples confirming the oddity of
> the
> >>>> above.
> >>>>
> >>>> brett@spider /tmp/test $ \ls [a]*
> >>>> apple
> >>>>
> >>>> brett@spider /tmp/test $ \ls [b]*
> >>>> ls: cannot access [b]*: No such file or directory
> >>>>
> >>>> brett@spider /tmp/test $ \ls [c]*
> >>>> ls: cannot access [c]*: No such file or directory
> >>>>
> >>>> brett@spider /tmp/test $ \ls a*
> >>>> apple
> >>>>
> >>>> brett@spider /tmp/test $ \ls b*
> >>>> ls: cannot access b*: No such file or directory
> >>>>
> >>>> brett@spider /tmp/test $ \ls c*
> >>>> ls: cannot access c*: No such file or directory
> >>>>
> >>>> brett@spider /tmp/test $ dpkg -S `which ls`
> >>>> coreutils: /bin/ls
> >>>>
> >>>> brett@spider /tmp/test $ dpkg -s coreutils
> >>>> Package: coreutils
> >>>> Essential: yes
> >>>> Status: install ok installed
> >>>> Priority: required
> >>>> Section: utils
> >>>> Installed-Size: 6020
> >>>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss(a)lists.ubuntu.com>
> >>>> Architecture: amd64
> >>>> Multi-Arch: foreign
> >>>> Version: 8.21-1ubuntu5.1
> >>>> [SNIP]
> >>>>
> >>>>
> >>>> Thanks,
> >>>> Brett
> >>>>
> >>>> _______________________________________________
> >>>> Wlug mailing list
> >>>> Wlug(a)mail.wlug.org
> >>>> http://mail.wlug.org/mailman/listinfo/wlug
> >>>>
> > _______________________________________________
> > Wlug mailing list
> > Wlug(a)mail.wlug.org
> > http://mail.wlug.org/mailman/listinfo/wlug
> >
>
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
>
June 19, 2015
Re: [Wlug] ls character range wildcard oddity?
by Chris Thompson
Well, this may not get you only a subset of lower-case letters, but it
does at least limit to lower case: [[:lower:]]. More details below.
e.g.:
ls [[:lower:]]*
Regards,
Chris
See also:
http://www.tldp.org/LDP/GNU-Linux-Tools-Summar/html/x11655.htm#STANDARD-WIL…
man 7 glob
----------
Character classes and internationalization
Of course ranges were originally meant to be ASCII ranges, so
that "[ -%]" stands for "[ !"#$%]" and "[a-z]" stands
for "any lowercase letter". Some UNIX implementations
generalized this so that a range X-Y stands for the set of
characters with code between the codes for X and for Y.
However, this requires the user to know the character cod‐
ing in use on the local system, and moreover, is not convenient
if the collating sequence for the local alphabet
differs from the ordering of the character codes. Therefore,
POSIX extended the bracket notation greatly, both for
wildcard patterns and for regular expressions. In the above we
saw three types of items that can occur in a bracket
expression: namely (i) the negation, (ii) explicit single
characters, and (iii) ranges. POSIX specifies ranges in
an internationally more useful way and adds three more types:
(iii) Ranges X-Y comprise all characters that fall between X and
Y (inclusive) in the current collating sequence as
defined by the LC_COLLATE category in the current locale.
(iv) Named character classes, like
[:alnum:] [:alpha:] [:blank:] [:cntrl:]
[:digit:] [:graph:] [:lower:] [:print:]
[:punct:] [:space:] [:upper:] [:xdigit:]
so that one can say "[[:lower:]]" instead of "[a-z]", and have
things work in Denmark, too, where there are three
letters past 'z' in the alphabet. These character classes are
defined by the LC_CTYPE category in the current
locale.
On 06/19/2015 09:58 AM, Theodore Ruegsegger wrote:
> It looks like a locale issue. In the old "C" locale, sorting a list
> put all cap letters before all lowercase letters. In the "en_US.UTF-8"
> locale, apparently the Ubuntu default, they're sorted as in a regular
> dictionary, regardless of caps.
>
> For example:
>
> ls
> apple berry Berry charlie
>
> Hope that's more helpful than my first response!
> Ted
>
> On Fri, Jun 19, 2015 at 9:46 AM, Theodore Ruegsegger <gruntly(a)gmail.com> wrote:
>> Disregard last transmission. I shoulda read your post more carefully.
>>
>> Ted
>>
>> On Fri, Jun 19, 2015 at 9:44 AM, Theodore Ruegsegger <gruntly(a)gmail.com> wrote:
>>> b != B
>>>
>>> HTH,
>>> Ted
>>>
>>> On Fri, Jun 19, 2015 at 9:29 AM, Brett Russ <bruss(a)alum.wpi.edu> wrote:
>>>> Can someone explain this to my evidently inadequately caffeinated brain? I
>>>> was trying to use a lower case character range wildcard to list all files
>>>> not starting with an uppercase letter and I noticed it wasn't working as I'd
>>>> expect. So I created this simple example and still don't understand what's
>>>> happening.
>>>>
>>>> Dir with two files:
>>>>
>>>> brett@spider /tmp/test $ \ls
>>>> apple Berry
>>>>
>>>> This is what I'd expect to see:
>>>>
>>>> brett@spider /tmp/test $ \ls [a-b]*
>>>> apple
>>>>
>>>> This makes no sense. Is this a bug?:
>>>>
>>>> brett@spider /tmp/test $ \ls [a-c]*
>>>> apple Berry
>>>>
>>>> From here on are just a few extra examples confirming the oddity of the
>>>> above.
>>>>
>>>> brett@spider /tmp/test $ \ls [a]*
>>>> apple
>>>>
>>>> brett@spider /tmp/test $ \ls [b]*
>>>> ls: cannot access [b]*: No such file or directory
>>>>
>>>> brett@spider /tmp/test $ \ls [c]*
>>>> ls: cannot access [c]*: No such file or directory
>>>>
>>>> brett@spider /tmp/test $ \ls a*
>>>> apple
>>>>
>>>> brett@spider /tmp/test $ \ls b*
>>>> ls: cannot access b*: No such file or directory
>>>>
>>>> brett@spider /tmp/test $ \ls c*
>>>> ls: cannot access c*: No such file or directory
>>>>
>>>> brett@spider /tmp/test $ dpkg -S `which ls`
>>>> coreutils: /bin/ls
>>>>
>>>> brett@spider /tmp/test $ dpkg -s coreutils
>>>> Package: coreutils
>>>> Essential: yes
>>>> Status: install ok installed
>>>> Priority: required
>>>> Section: utils
>>>> Installed-Size: 6020
>>>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss(a)lists.ubuntu.com>
>>>> Architecture: amd64
>>>> Multi-Arch: foreign
>>>> Version: 8.21-1ubuntu5.1
>>>> [SNIP]
>>>>
>>>>
>>>> Thanks,
>>>> Brett
>>>>
>>>> _______________________________________________
>>>> Wlug mailing list
>>>> Wlug(a)mail.wlug.org
>>>> http://mail.wlug.org/mailman/listinfo/wlug
>>>>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
June 19, 2015
Re: [Wlug] ls character range wildcard oddity?
by Theodore Ruegsegger
It looks like a locale issue. In the old "C" locale, sorting a list
put all cap letters before all lowercase letters. In the "en_US.UTF-8"
locale, apparently the Ubuntu default, they're sorted as in a regular
dictionary, regardless of caps.
For example:
ls
apple berry Berry charlie
Hope that's more helpful than my first response!
Ted
On Fri, Jun 19, 2015 at 9:46 AM, Theodore Ruegsegger <gruntly(a)gmail.com> wrote:
> Disregard last transmission. I shoulda read your post more carefully.
>
> Ted
>
> On Fri, Jun 19, 2015 at 9:44 AM, Theodore Ruegsegger <gruntly(a)gmail.com> wrote:
>> b != B
>>
>> HTH,
>> Ted
>>
>> On Fri, Jun 19, 2015 at 9:29 AM, Brett Russ <bruss(a)alum.wpi.edu> wrote:
>>> Can someone explain this to my evidently inadequately caffeinated brain? I
>>> was trying to use a lower case character range wildcard to list all files
>>> not starting with an uppercase letter and I noticed it wasn't working as I'd
>>> expect. So I created this simple example and still don't understand what's
>>> happening.
>>>
>>> Dir with two files:
>>>
>>> brett@spider /tmp/test $ \ls
>>> apple Berry
>>>
>>> This is what I'd expect to see:
>>>
>>> brett@spider /tmp/test $ \ls [a-b]*
>>> apple
>>>
>>> This makes no sense. Is this a bug?:
>>>
>>> brett@spider /tmp/test $ \ls [a-c]*
>>> apple Berry
>>>
>>> From here on are just a few extra examples confirming the oddity of the
>>> above.
>>>
>>> brett@spider /tmp/test $ \ls [a]*
>>> apple
>>>
>>> brett@spider /tmp/test $ \ls [b]*
>>> ls: cannot access [b]*: No such file or directory
>>>
>>> brett@spider /tmp/test $ \ls [c]*
>>> ls: cannot access [c]*: No such file or directory
>>>
>>> brett@spider /tmp/test $ \ls a*
>>> apple
>>>
>>> brett@spider /tmp/test $ \ls b*
>>> ls: cannot access b*: No such file or directory
>>>
>>> brett@spider /tmp/test $ \ls c*
>>> ls: cannot access c*: No such file or directory
>>>
>>> brett@spider /tmp/test $ dpkg -S `which ls`
>>> coreutils: /bin/ls
>>>
>>> brett@spider /tmp/test $ dpkg -s coreutils
>>> Package: coreutils
>>> Essential: yes
>>> Status: install ok installed
>>> Priority: required
>>> Section: utils
>>> Installed-Size: 6020
>>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss(a)lists.ubuntu.com>
>>> Architecture: amd64
>>> Multi-Arch: foreign
>>> Version: 8.21-1ubuntu5.1
>>> [SNIP]
>>>
>>>
>>> Thanks,
>>> Brett
>>>
>>> _______________________________________________
>>> Wlug mailing list
>>> Wlug(a)mail.wlug.org
>>> http://mail.wlug.org/mailman/listinfo/wlug
>>>
June 19, 2015
Re: [Wlug] ls character range wildcard oddity?
by Theodore Ruegsegger
Disregard last transmission. I shoulda read your post more carefully.
Ted
On Fri, Jun 19, 2015 at 9:44 AM, Theodore Ruegsegger <gruntly(a)gmail.com> wrote:
> b != B
>
> HTH,
> Ted
>
> On Fri, Jun 19, 2015 at 9:29 AM, Brett Russ <bruss(a)alum.wpi.edu> wrote:
>> Can someone explain this to my evidently inadequately caffeinated brain? I
>> was trying to use a lower case character range wildcard to list all files
>> not starting with an uppercase letter and I noticed it wasn't working as I'd
>> expect. So I created this simple example and still don't understand what's
>> happening.
>>
>> Dir with two files:
>>
>> brett@spider /tmp/test $ \ls
>> apple Berry
>>
>> This is what I'd expect to see:
>>
>> brett@spider /tmp/test $ \ls [a-b]*
>> apple
>>
>> This makes no sense. Is this a bug?:
>>
>> brett@spider /tmp/test $ \ls [a-c]*
>> apple Berry
>>
>> From here on are just a few extra examples confirming the oddity of the
>> above.
>>
>> brett@spider /tmp/test $ \ls [a]*
>> apple
>>
>> brett@spider /tmp/test $ \ls [b]*
>> ls: cannot access [b]*: No such file or directory
>>
>> brett@spider /tmp/test $ \ls [c]*
>> ls: cannot access [c]*: No such file or directory
>>
>> brett@spider /tmp/test $ \ls a*
>> apple
>>
>> brett@spider /tmp/test $ \ls b*
>> ls: cannot access b*: No such file or directory
>>
>> brett@spider /tmp/test $ \ls c*
>> ls: cannot access c*: No such file or directory
>>
>> brett@spider /tmp/test $ dpkg -S `which ls`
>> coreutils: /bin/ls
>>
>> brett@spider /tmp/test $ dpkg -s coreutils
>> Package: coreutils
>> Essential: yes
>> Status: install ok installed
>> Priority: required
>> Section: utils
>> Installed-Size: 6020
>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss(a)lists.ubuntu.com>
>> Architecture: amd64
>> Multi-Arch: foreign
>> Version: 8.21-1ubuntu5.1
>> [SNIP]
>>
>>
>> Thanks,
>> Brett
>>
>> _______________________________________________
>> Wlug mailing list
>> Wlug(a)mail.wlug.org
>> http://mail.wlug.org/mailman/listinfo/wlug
>>
June 19, 2015
Re: [Wlug] ls character range wildcard oddity?
by Theodore Ruegsegger
b != B
HTH,
Ted
On Fri, Jun 19, 2015 at 9:29 AM, Brett Russ <bruss(a)alum.wpi.edu> wrote:
> Can someone explain this to my evidently inadequately caffeinated brain? I
> was trying to use a lower case character range wildcard to list all files
> not starting with an uppercase letter and I noticed it wasn't working as I'd
> expect. So I created this simple example and still don't understand what's
> happening.
>
> Dir with two files:
>
> brett@spider /tmp/test $ \ls
> apple Berry
>
> This is what I'd expect to see:
>
> brett@spider /tmp/test $ \ls [a-b]*
> apple
>
> This makes no sense. Is this a bug?:
>
> brett@spider /tmp/test $ \ls [a-c]*
> apple Berry
>
> From here on are just a few extra examples confirming the oddity of the
> above.
>
> brett@spider /tmp/test $ \ls [a]*
> apple
>
> brett@spider /tmp/test $ \ls [b]*
> ls: cannot access [b]*: No such file or directory
>
> brett@spider /tmp/test $ \ls [c]*
> ls: cannot access [c]*: No such file or directory
>
> brett@spider /tmp/test $ \ls a*
> apple
>
> brett@spider /tmp/test $ \ls b*
> ls: cannot access b*: No such file or directory
>
> brett@spider /tmp/test $ \ls c*
> ls: cannot access c*: No such file or directory
>
> brett@spider /tmp/test $ dpkg -S `which ls`
> coreutils: /bin/ls
>
> brett@spider /tmp/test $ dpkg -s coreutils
> Package: coreutils
> Essential: yes
> Status: install ok installed
> Priority: required
> Section: utils
> Installed-Size: 6020
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss(a)lists.ubuntu.com>
> Architecture: amd64
> Multi-Arch: foreign
> Version: 8.21-1ubuntu5.1
> [SNIP]
>
>
> Thanks,
> Brett
>
> _______________________________________________
> Wlug mailing list
> Wlug(a)mail.wlug.org
> http://mail.wlug.org/mailman/listinfo/wlug
>
June 19, 2015