mirrored here:
http://archive.org/details/Puppy_Linux_ ... siness_Pup
Problem with sorting script - two column sort (Solved)
Thanks for the thought, Flash.Flash wrote:Hansol and musher0, you two ought to collaborate on a thread about an Enterprise Puppy in the How-to section of the forum.
Indeed, it would certainly be very good to have hansol and his expertise on board.
For the last couple of days, Eric (e_mattis) and I have started to exchange seed ideas
about a new SOHO Puppy, through PM.
Maybe considering an "Enterprise Puppy" is a bit ambitious at this point, but with
like-minded people working together in some sort of loose team structure, who knows,
anything's possible.
BFN.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
First :hansol wrote:Musher,
Thanks very much! That certainly got it sorted out. I'm staring at your code trying to figure out "why" it works, and can't quite grasp it, but all I care about is that it does indeed work!
You saved me hours of googling, so thanks again.
Your code had two times the -k switch
The -k switch is commonly used together with the -t switch :
Code: Select all
LIST="101 A
101 B
101 C
102 A
102 B
102 C
103 A
103 B
103 C"
sortDELIMITER=" "
echo "$LIST" | sort -k2 -t"$sortDELIMITER"
101 A
102 A
103 A
101 B
102 B
103 B
101 C
102 C
103 C
Code: Select all
LIST="101 A
101 b
101 C
102 A
102 b
102 C
103 a
103 B
103 c"
echo "$LIST" | sort -k2 -t"$sortDELIMITER"
103 a
101 A
102 A
101 b
102 b
103 B
103 c
101 C
102 C
echo "$LIST" | busybox sort -k2 -t"$sortDELIMITER"
101 A
102 A
103 B
101 C
102 C
103 a
101 b
102 b
103 c
Interesting thread.
Hansol, you might also want to check out pdfshuffler and pdfsam if you haven't already. And one day you might find Kingsoft Office or perhaps Softmaker Office saves you from Wine
Hansol, you might also want to check out pdfshuffler and pdfsam if you haven't already. And one day you might find Kingsoft Office or perhaps Softmaker Office saves you from Wine
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER