LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

bash sort using a tab delimiter

Posted 09-07-2012 at 01:49 PM by NullTerminator
Updated 09-07-2012 at 02:49 PM by NullTerminator
Tags bash, sort, tab

There are several ways to sort things when fields are tab separated. The simplest I have found is
Code:
TAB=`echo -e "\t"`
sort -t"$TAB" -k 5,3 scrambledFile.tsv > sorted.tsv
syntax may vary for dos shells, possibly as
Code:
set tab=echo "\t"
sort -t"%tab%" -k5,3 scrambledFile.tsv > sortedFile.tsv
As of this posting, both variations are subject to verification of the syntax.
LQ Newbie
Posted in Uncategorized
Views 562 Comments 0 NullTerminator is offline
Old

Log4j Message Filtering

Posted 09-07-2012 at 12:54 PM by NullTerminator
Updated 09-13-2012 at 12:27 PM by NullTerminator

Some Notes on built in filtering facility

http://logging.apache.org/log4j/1.2/...tchFilter.html
org.apache.log4j.varia.StringMatchFilter - this is a "contains" match paradigm.
Followup: This actually uses the indexOf method for matching, so it acts like a "contains" match, and IS CaseSensitive.

possible specification in an appender tag
extend from an example at http://stackoverflow.com/questions/4...-the-log4j-xml...
LQ Newbie
Posted in Uncategorized
Views 674 Comments 0 NullTerminator is offline
Old

I come here but do not blog that much

Posted 09-06-2012 at 11:15 PM by MystikMitch
Updated 09-06-2012 at 11:49 PM by MystikMitch (Added picture)

I have not been blogging for a good portion of time this is just a small update. Since my last blog I have moved to Kubuntu 12.04 LTS and enjoy it very much. I'll try to maybe post a screenshot of my desktop. Nothing special but a powerful desktop that I enjoy to use. Best of all is that I was able to use my home directoy with kubuntu as if it was Debian 6.Sadly my dvi video simply does not work on debian nor kubuntu. :-)

The picture that has been converted to compressed jpeg file...
Member
Posted in Uncategorized
Views 584 Comments 0 MystikMitch is offline
Old

Western Digital replaces bricked drive, OK to buy.

Posted 09-06-2012 at 09:20 AM by Skaperen

Buying Western digital drives is back ON. WD has come through, finally, and replaced the bricked drive mentioned in my previous x 2 post here.

http://joeparrie.tumblr.com/post/308...issue-sends-hd

I hope the tech support people at WD get an update about how to handle firmware upgrade issues so they can avoid things like this in the future. New firmware, at least if they recommend it, should be supported for at least as...
Senior Member
Posted in Uncategorized
Views 534 Comments 0 Skaperen is offline
Old

I might be running for President

Posted 09-05-2012 at 01:44 AM by m3rl1n
Updated 09-05-2012 at 01:53 AM by m3rl1n

It has been a while, since I blogged. I didn't have time, with 6 kids and way too many summer plans. I installed Kubuntu after a hard drive crash, replacing Ubuntu 12.04 LTS. Wow, felt like going back to the Microsoft Environment (Yuck!).

Kubuntu made me wonder how long -- until the planet encompasses Linux, looking back at an era of hampered computing due Billy's brain fart (MS). I have been spreading Linux in my neighborhood, better and faster than any flu-virus. People love it,...
LQ Newbie
Posted in Uncategorized
Views 503 Comments 0 m3rl1n is offline

  



All times are GMT -5. The time now is 08:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration