Language Selection

English French German Italian Portuguese Spanish

Bash typecasting

Filed under

A recent post here mentioned typecasting in the shell. I responded by advising the poster to use some other language for his scripting needs. My feeling is that while I do appreciate that Bash can be used for complicated tasks, I just don't see the point: use a language that matches your expectations for features. For me, that's Perl, but others might choose Python or Php or Java or who knows - but if you bring the right tool (or a tool you know well), jobs go much easier.

But back to bash and its typecasting. Bash does let you declare how you intend to use a variable. Let's do it "wrong" first:

Full Story.

More in Tux Machines

Games for GNU/Linux

Today in Techrights

Why OpenStack is the wrong cloud for Red Hat to be building its future on

Just because one can make money from OpenStack doesn't mean one should. Red Hat, on its recent earnings call, gladly assumed the title of "Red Hat of OpenStack," meaning the "vendor that does certification and confidently allow[s] both hardware and software vendors to participate in the ecosystem." In a similar vein, I've called OpenStack Red Hat's "Linux moment," a chance to productize the growing cloud movement. Read more

Linux 4.10.7

I'm announcing the release of the 4.10.7 kernel. All users of the 4.10 kernel series must upgrade. The updated 4.10.y git tree can be found at: git:// linux-4.10.y and can be browsed at the normal git web browser: Read more Also: Linux 4.9.19 Linux 4.4.58