|
From: | Martin Tarenskeen |
Subject: | Re: "Input too long" bug? |
Date: | Thu, 12 Oct 2006 22:12:16 +0200 (CEST) |
On Thu, 12 Oct 2006, Adam Block wrote:
I'm not sending a line break. I was just wondering if one was being added somewhere. The following example shell command causes the error: echo "XxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxxXxxxxxxxxx" | gnokii --sendsms 14154208800
Try "printf" instead of "echo" "echo" adds a linebreak automatically, "printf" doesn't. -- Martin Tarenskeen
[Prev in Thread] | Current Thread | [Next in Thread] |