Thanks hiltjo!
On Jan 5, 2013 7:29 AM, "Hiltjo Posthuma" wrote:
> On Fri, Jan 4, 2013 at 10:44 PM, Carlos Torres
> wrote:
> > http://sprunge.us/QMMS
> >
> > someone requested that on IRC and i had it.
> >
> > Enjoy!
> >
>
> You can also use shellscripting and do something like this:
>
> #!/bin/s
On Fri, Jan 4, 2013 at 10:44 PM, Carlos Torres wrote:
> http://sprunge.us/QMMS
>
> someone requested that on IRC and i had it.
>
> Enjoy!
>
You can also use shellscripting and do something like this:
#!/bin/sh
read input
token=$(printf "%s" "$input" | cut -b 1-2)
stuff=$(printf "%s" "$input" |
http://sprunge.us/QMMS
someone requested that on IRC and i had it.
Enjoy!