Search Results

Search: Posts Made By: adispi
1,638
Posted By adispi
found the solution using mutt: mutt -e 'set...
found the solution using mutt:
mutt -e 'set content_type=text/html' -s 'subject' 'email@example.com' </tmp/output.html
1,638
Posted By adispi
i found the issue, but not the solution. when i...
i found the issue, but not the solution.
when i output to a file, all is fine with no issue.
the issue is with the mail command, it changes the output for some reason:
echo $OUTPUT |mail -s...
1,638
Posted By adispi
CONSUMABLE="`$SNMPCHECKCMD -H...
CONSUMABLE="`$SNMPCHECKCMD -H ${PRINTERS[$PRINTER]} -C public -x \"CONSUM ALL\" -w 15 -c 10 |$SED s/\!/\ \<br\>/g |$SED s/\|.*//g`"
CONSUMABLE="`echo $CONSUMABLE |$SED '
s#OK.#<span...
1,638
Posted By adispi
i am still getting some unexpected results: ...
i am still getting some unexpected results:

<span style="backgr
ound-color:green;font-weight:bold;">OK</span>



<span style="background-color:green;font-weight:bold;">OK</spa>


i cannot...
1,638
Posted By adispi
Unusual output of sed
i have a sed command that is looking for the workds OK, WARNING and CRITICAL and add html color to those words. e.g:
echo $CONSUMABLE |$SED s/OK./\<span\...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 10:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy