BTTB: looping for shell script under embedded linux

November 17th, 2010 mysurface

You may already realized Linux happened to appear at many places, such as web server, storage server, desktop, kiosk machine, mobile devices. Yes, more and more devices running embedded Linux. Yeah, Android is a modified version of Linux kernel too! Scarcity is still an issue, embedded Linux can be very different to Linux that hosted [...]

Posted in cut, for, if, seq, Text Manipulation | Hits: 174904 | 11 Comments »

write a online manga downloader using bash

November 29th, 2007 mysurface

There are plenty of site that allows you to read manga online, but you have to tolerate for the slow access and ton’s of heavy loaded ads. You can’t download the manga directly using batch download provided by wget or any download manager. but if you know how to do bash script, you could somehow [...]

Posted in Bash, seq, Text Manipulation, wget | Hits: 85422 | 9 Comments »

generate and print a sequence of number

September 28th, 2006 mysurface

To generate a sequence of number we can use seq seq 1 10 With this it prints 1 to 10 line by line, because by default separator is new line, anyway you can check, do this seq -s” ” 1 10 Doing this it change new line to a single blank space. But that is [...]

Posted in backquote, cat, Misc, pipeline, seq, Text Manipulation, wc | Hits: 71826 | 1 Comment »