135 reputation
4
bio website
location
age
visits member for 2 years, 11 months
seen Dec 19 '13 at 18:50

Feb
8
answered Linux comand line program, serial (COM port) transmistion, Hex
Jan
27
accepted Relationship between hardware clock and system clock
Jan
26
comment Relationship between hardware clock and system clock
Iunknown: "and the System Clock (aka Kernel Clock, Software Clock) whose value is saved in the OS config" - this value of clock would be deprecated by next start of OS
Jan
26
asked Relationship between hardware clock and system clock
Jan
19
answered Immediately tell which output was sent to stderr
Nov
4
comment Convert string “1-5” into array of numbers in bash
Yes, it is ok then, thank you
Nov
4
accepted Convert string “1-5” into array of numbers in bash
Nov
4
comment Convert string “1-5” into array of numbers in bash
This works most reliable for my embedded system. I'll use it. Thank you :)
Nov
4
comment Convert string “1-5” into array of numbers in bash
I have a problem with range containing number 9, but it seems to be a bug in awk from busybox.. Just for info :)
Nov
4
comment Convert string “1-5” into array of numbers in bash
It doesn't work for me. It just write out the first number and finish. I use GNU bash, version 3.2.39(1)
Nov
3
awarded  Scholar
Nov
3
comment Convert string “1-5” into array of numbers in bash
Very nice solution, in one row :) And it works for me well! But I can't use perl - the final script should be independent from perl.
Nov
3
awarded  Supporter
Nov
3
comment Convert string “1-5” into array of numbers in bash
Yes, there could be a problem - I use it at embedded linux, awk is a part of busybox package: BusyBox v1.18.4 (2011-06-22 18:48:08 CEST) multi-call binary.
Nov
3
comment Convert string “1-5” into array of numbers in bash
@Flimzy - I have tried to use sed on it - to devide the string into rows any time the char '-' is found. And then look at the last number of previous row and the first row of actual row and make for cycle with incrementing... A little bit complicated way :)
Nov
3
comment Convert string “1-5” into array of numbers in bash
Thank you - it is just I was looking for. But how does it work? When I want to convert range 11-14, the output is: 11,12,13,14,14 The last one is doubled. And I cannot correct it.
Nov
3
awarded  Student
Nov
3
asked Convert string “1-5” into array of numbers in bash
Oct
12
awarded  Teacher
Oct
12
answered How to divide screen within a bash script