Hi everyone! I just stumbled over an answer which is marked as the "correct answer" despite being (I think) harmful. (But I'm not a Debian pro either.) The answer advises to add the Debian SID (a.k.a. unstable) package repository to the sources.list of an Debian Stable system without mentioning that this makes the system unstable. If you agree, please vote accordingly. unix.stackexchange.com/a/406554/103271
@Multisync Agreed, in general this is bad advice. Though sometimes it will work as desired, namely that only a few packages will be upgraded.
But ond does have to be able to distinguish between the two situations.
Incidentally, I see firefox is now at 59. Since I'm at 57, which is not part of stable (though I'm running stable), is there any advantage to upgrading?
I think I originally upgraded to Quantum because Amazon Video stopped working. Or perhaps something else did - I'm not sure.
I'm surprised firefox isn't part of backports.
And if you are going to downvote the accepted answer, in fairness you should also downvote the answer below it, namely that of JBBgameich.
@StephenKitt Also tagged as "OLD ANSWER". The mention of unstable is above.
And suggesting the installation of a deb from experimental isn't much better than recommending installing from unstable. Both approaches are quite likely to pull in / upgrade other packages, possibly causing a mass upgrade.
And even upgrading libc6 is problematic, at least in theory.
I suppose one could downgrade after the event, but that's not necessarily trivial.
@FaheemMitha yes, but the answer doesn’t suggest changing sources etc., just going to the package page and downloading the .deb, which will have very limited impact
@FaheemMitha yes, which puts a damper on the whole endeavour, but again, won’t happen automatically with this particular answer
@FaheemMitha no, experimental is never used as an automatic upgrade source (even for packages installed from there)
@StephenKitt I suppose that's technically true, but if one tries to satisfy the dependencies for that deb, you probably will get stuff pulled in. At least for unstable.
I continue getting this really weird academic spam. Inviting me to meetings around the globe of various medical and scientific topics. What they all have in common is that I know nothing about them.
@FaheemMitha I do the same as @Jesse_b and just by segmenting my emails adress and not using gmail/yahoo or any major mail provider I have something like 2 or 3 spams a week
I actually had a really big impact on some of my other addresses by going through all the spam and following the "unregister" links in them. It actually works for many of those crappy newsletters/spam you don't want
@Jesse_b Really? That's interesting. Conventional wisdom says that if you do that, you'll get more spam.
Because the spammers will have confirmation the address is "live". :-)
Part of the problem is that my mail hosting provider has crappy spam management. They let a lot of obvious stuff through. Though the service is not inexpensive.
@FaheemMitha It increase the value of your profil but at least in Europe it also mean you ask not to be disturbe its almost respect and reduces the amount of spam
@FaheemMitha I have a special address to register to newsletter and commercial site but in Europe you can almost always ask a site you register to not resell your data and that's what i did with all that. most of the spam i get comes from stolen data from someone who have my adress more than commercial spam. When I see a newsletter I didn't suscribe for I unregister keeping my amount of spam quiet low
Something I learned from chat: a more amusing interpretation of dskm_handle_failed_ioctl3.2: oss_ioctl 3 to device o/192.168.111.7;192.168.111.8, oss_fd 0 failed with error 7 isFence: Yes to see the o/ in there as the system saying "ahoy there, IP 192.168.111.7!" as opposed to the sad reality of the system being in solitary confinement
Got a quick question (easy): I have a bash script that I want to use to sum a list of any amount of numbers from stdin. However, when I run it I get "1: command not found" where 1 is the first number entered through stdin. Here is my code
A shell assignment is a single word, with no space after the equal sign. So what you wrote assigns an empty value to thefile; furthermore, since the assignment is grouped with a command, it makes thefile an environment variable and the assignment is local to that particular command, i.e. only the...
Consider the following code:
foo () {
echo $*
}
bar () {
echo $@
}
foo 1 2 3 4
bar 1 2 3 4
It outputs:
1 2 3 4
1 2 3 4
I am using Ksh88, but I am interested in other common shells as well. If you happen to know any particularity for specific shells, please do mention them...
Or, an introductory guide to robust filename handling and other string passing in shell scripts.
I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on some file names).
I encountered a problem such as the following:
I have a file name containing a spa...
@Jordan Heh, yeah :) The basic answer is that var=echo simply sets the variable var to the string echo. To save the output of a command in a variable, you want var=$(command)
Also, your awk needs to print its results: . . . | awk '{sum+=$0 }END{print sum}'