TODAY'S  MOST  POPULAR  HEADLINES

PNG Image

Argument


Parsing arguments for your shell script

07/18/2007  III
Relevance: 7.21
Suppose you want to have some options on your bash shell script, some flags that you can use to alter its behavior. You could do the parsing directly, using ${#} to tell you how many arguments have been supplied, and testing ${1:0:1} to test the first character of the first argument to see if it is a minus sign. You would need some if/then or case logic to identify which option it is and whether it takes an argument. What if the user doesn't supply a required argument? What if the user calls your script with two options combined (e.g., -ab)? Will you also parse for that? The need to parse options for a shell script is a common situation. Lots of scripts have options. Isn't there a more standard way to do this?
Search further arrow


Why I refuse to call it GNU/Linux

08/20/2007  IIIIIIIIII
Relevance: 7.04
When listening to others talk about GNU/Linux it always strikes me as odd the argument that is used. That the Linux kernel was made usable by the marriage of the GNU tool set to it so therefor it should be called GNU/Linux as it is a blending of the two and Linux is only the kernel. On the face of it this argument makes sense ... if one doesn't think about it too deeply.
Search further arrow


Microsoft Hicks Take Backward Stand On Interoperability

02/19/2007  IIIII
Relevance: 6.57
LXer Feature: 19-Feb-2007Microsoft's recent letter argues for choice of formats, not office suites. Yet, their argument undermines the foundation of interoperability that a single standard can offer. In other words, their argument is so backwards, it makes this old hillbilly's head spin.
Search further arrow


Cleaning Up irq Handlers

10/22/2007  III
Relevance: 6.55
Jeff Garzik posted a series of nine patchs to the lkml titled to"remove [the] 'irq' argument from all irq handlers", explaining,"the overwhelming majority of drivers do not ever bother with the 'irq' argument that is passed to each driver's irq handler. Of the minority of drivers that do use the arg, the majority of those have the irq number stored in their private-info structure somewhere." He noted that he had no intention to push the patches upstream anytime soon.
Search further arrow


Mozilla CEO John Lilly on Apple and iPhone

08/14/2008  II
Relevance: 6.38
Wired: Are you going to develop a version of Firefox for the iPhone? Lilly: No. Apple makes it too hard. They say it’s because of technical issues â€' they don’t want outsiders to disrupt the user experience. That’s a business argument masquerading as a technological argument. We’re focusing on more important stuff. The iPhone has been influential, but there’s not that many of them. We’re part of theLiMo Foundation â€' Linux on Mobile. The Razr V2 is a LiMo phone, and you’ll see more in the next year or so.
Search further arrow


Dealing With"Argument list too long" Errors on Linux and Unix

11/28/2008  I
Relevance: 6.23
Just dealing with the OS error message. This post has nothing whatsoever to do with marriage ;) Here's a question that gets asked a lot (and, consequently, answered a lot ;) on the boards. How do you go about dealing with a situation in which you're trying to take care of some business on your Linux or Unix box and you get stopped with the"Argument list too long" error message? It's probably happened to all of us at some point, but it's fairly simple to avoid, and in more than one way.
Search further arrow


This week at LWN: NDISwrapper dodges another bullet

03/17/2008  IIIIIIIIII
Relevance: 6.10
Hardware compatibility has long been a problem for Linux though it has gotten much better over the years so it will be surprising to some to see a kernel change that will make some hardware cease working. For others, who follow kernel development a bit more closely, it will come as no great surprise that NDISwrapper was disabled by a change made to the kernel back in January. NDISwrapper has never been very popular with kernel hackers, but, because it is GPL licensed and allows more hardware to be used, there are folks on both sides of the argument. For a while, it looked like NDISwrapper had lost that argument, but the 2.6.25-rc4 release restores the functionality it requires.
Search further arrow


Microsoft's Security Claims Do Not Stand Up to Examination

02/04/2008  I
Relevance: 4.86
Microsoft is constantly claiming that their products are more secure than the competition based on the same flawed argument over and over again. Filling in the data creates a very different picture.
Search further arrow


359 Choices

07/22/2007  III
Relevance: 4.78
For quite a few pundits out there, the fact that there are so many Linux distributions is a bit troubling to them. I am not sure why this argument keeps coming up, but it goes something like this: there are X Linux distros out there, which is too many to choose from for users, and creates a strain on developer resources.
Search further arrow


Mozilla vs. Debian: A Crazy Dispute

11/28/2006  II
Relevance: 4.58
Unless you have been living under a rock, by now most of you have likely heard about the trouble between Debian and Mozilla with regards to the Firefox logo. In many ways, the argument is stupid and valid at the same time.
Search further arrow



Showing 10 articles of total 23376 in database (Flag English).