Re: [dev] Customizing string output

From: Calvin Morrison <mutantturkey_AT_gmail.com>
Date: Sun, 9 Nov 2014 16:36:21 -0500

> Default example:
>
> printf("%s | %s | %s | %s", load, fs_usage, batt, time);
>
> Customized version:
>
> printf("%s | %s | %s", fs_usage, load, batt);

I don't see the point of doing anything but this. Having this as a
link in config.h could work no?

#define OUTPUT printf("%s", load);

then just call OUTPUT in your script
Received on Sun Nov 09 2014 - 22:36:21 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 09 2014 - 22:48:08 CET