[off-topic] apt and do-release-upgrade question - what's sources.list.distUpgrade for?

Ralf Mardorf kde.lists at yahoo.com
Mon Jul 20 11:44:07 UTC 2020


On Mon, 2020-07-20 at 13:28 +0200, Liam Proven wrote:
> On Mon, 20 Jul 2020 at 12:59, Ralf Mardorf via ubuntu-users
> <ubuntu-users at lists.ubuntu.com> wrote:
> 
> > This is an example of the sort of handy bashism usage that is legal in bash.
> 
> Which is *not* the same, not the same syntax, not obvious or
> intuitive, and if it's a Bash-ism may not work in Zsh or Tcsh or Csh
> or Sh or whatever. I don't only use Linux.
> 
> No. This is _why_ I do not particularly like _any_ *nix shell.
> 
> I don't really want to restart the argument. I've been online since
> 1985 and using *nix since 1988. I've had this argument _so many times_
> in so many places. Not again.

You and nobody else mentioned it in the first place. I'm using Linux and
BSD. Bash is available for real *nix operating systems, too.

Keep in mind that 'cp CONFIG.SYS *.BAK' is correct in *nix shells, it's
not "illegal".

[rocketmouse at archlinux conf]$ /bin/ls
CONFIG.SYS  CONFIG.SYS.BAK
[rocketmouse at archlinux conf]$ cat CONFIG.SYS*
1
2
[rocketmouse at archlinux conf]$ cp CONFIG.SYS *.BAK
[rocketmouse at archlinux conf]$ cat CONFIG.SYS*
1
1

The bashism 'cp CONFIG.SYS{,.BAK}' does something different, than the
globbing using the asterisk does.

Actually you could mix bashisms and globbing using wild cards.





More information about the ubuntu-users mailing list