Extracting character range form longline with sed or awk or grep?

Posted by rufus28 on Stack Overflow See other posts from Stack Overflow or by rufus28
Published on 2010-06-13T17:01:45Z Indexed on 2010/06/13 17:12 UTC
Read the original article Hit count: 191

Filed under:
|
|
|
|

So i have a 1 long line with characters, for example numbers[1-1024] in one line(no "\n", "\t" and "\b"):

1 2 3 4 5 6 7 8 9 10 11 ... 1024

How do i extract and print characters for example exactly 55 characters after 46? So output would be:

47 48 49 ... 101

Thanks.

© Stack Overflow or respective owner

Related posts about console

Related posts about sed