Skip to contentSkip to conversation

remove '\n' from end of callout return

udev Kay Sievers 1 participant 1 message Dec 15, 2003

lore
Share & tools
lore
#0 lore raw

On Mon, Dec 15, 2003 at 02:32:20AM +0100, Kay Sievers wrote:

Yes, there are only 3 lines in the patch, but this one is still better :)

Quoted 9 lines

Uups, new mail. It's better to attach the promised file :)

Attached is a patch to remove a possible newline from the end of the callout returned string. So we can use "echo" instead of "echo -n" in a callout script, to match with ID>
thanks,
Kay

Quoted 3 lines

03-remove-newline-from-callout-return.diff
remove possible newline at end of callout output, for easier matching with ID

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel