LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Handling all file names safely in Bash

Posted 02-11-2012 at 01:09 PM by Nominal Animal
Updated 04-16-2012 at 03:41 AM by Nominal Animal (Fuller fixes.)
Tags bash, filename, nul

In Linux, each file or directory name (or more generally, pathname component) is just a string of bytes. It always ends with the C end-of-string mark, ASCII NUL: a zero. Value 47, ASCII /, is also reserved for use as a separator between pathnames.

Bash can read ASCII NUL separated data using read -d "" variable. It will, however, remove leading and trailing characters that match IFS, and return false (nonzero status) if the input does not have a final NUL. This applies to...
Senior Member
Posted in Uncategorized
Views 1429 Comments 0 Nominal Animal is offline
Old

NetBSD 5.1.2 has just been released, and of course it runs on....

Posted 02-11-2012 at 07:55 AM by tallship

Just about everything under the sun!

For Details on today's NetBSD 5.1.2 release:

http://northtech.us/content/20120211...released-today
Member
Posted in Uncategorized
Views 515 Comments 0 tallship is offline
Old
Rating: 3 votes, 5.00 average.

Hero Honda Splendor fork oil change

Posted 02-11-2012 at 01:36 AM by catkin

The easiest way to do this job is to remove the drain plugs but the part that they screw into within the slider may turn. If that happens a special tool is required to hold it. The procedure described here avoids that danger; it does not need any special tools.

Note on terms: the fork tube (a.k.a. stanchion) is attached to the yokes (a.k.a. triple tree) which pivot in the frame while the slider (a.k.a tube) holds the wheel. The least ambiguous terms, "stanchion" and "slider",...
LQ 5k Club
Posted in Uncategorized
Views 2425 Comments 0 catkin is offline
Old

The Great GNOME Schism

Posted 02-10-2012 at 11:31 PM by wagscat123

I personally switched back to KDE in wake of 12.1 approaching over the summer. GNOME 3 isn't too bad for me, just different and weird, and if was tweaked a little might be good. In the past,
(starting with KDE 2.5\GNOME 2.16) I've bounced around between the two and have voted differently over the years. I've always used SUSE though.
Comparing LQ Members Choice Awards this year to last year, there seems to be a Great Schism in GNOME. KDE has kept about the same amount of votes, while...
Member
Posted in Uncategorized
Views 484 Comments 0 wagscat123 is offline
Old

Kate and Phil

Posted 02-09-2012 at 05:51 PM by trevorparsons
Updated 02-09-2012 at 06:32 PM by trevorparsons (Clarity)

I use KDE's Kate editor a lot. Recently, it has complained about opening some of my messy HTML files, giving the following slightly opaque error message:

Quote:
The file [whatever] was opened and contained too long lines (more than 1,024 characters). Too long lines were wrapped and the document is set to read-only mode, as saving will modify its content.
I searched for a portion of this text using Startpage and found just one result, in a post to the kde-commits list, pertaining...
LQ Newbie
Posted in Uncategorized
Views 4646 Comments 3 trevorparsons is offline

  



All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration