EA's not displaying lines properly? Is this a feature or a bug?

easyedc
Valued Contributor II

Anyone else having this issue? I'm currently building out a new server as I had to update from RHEL 5 to RHEL 7. Testing out new install of 9.96 compared to our current release of 9.82, EA's don't appear to be processing line breaks properly. Using the same EA for GPU hardware that I've had for a while now:

#!/bin/sh
echo "<result>$(system_profiler SPDisplaysDataType | awk '/Chipset Model/,/Displays/{print}' | sed '$d;s/^ *//g')</result>"
exit 0

Produces a legible output on 9.82 but a quasi-illegible output on 9.96. After noticing this, I discovered it doing it on all our EA's that generally produce multiple lines of output. This is a completely newly built server. I downloaded my EA's manually and uploaded them to the new server. Running the scripts locally produce results as expected with line breaks. I did a search for this issue and haven't found any discussions about it since before it was enabled by default. Is it just me or are others having this too? To confirm, running this in terminal provides proper output, also:

# (system_profiler SPDisplaysDataType | awk '/Chipset Model/,/Displays/{print}' | sed '$d;s/^ *//g')
Chipset Model: NVIDIA GeForce GT 755M
Type: GPU
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 1024 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0fea
Revision ID: 0x00a2
ROM Revision: 3782
Metal: Supported

9.82:0f90abfea1b94ab5818a0d8e47de2501
9.96:627e3b284a7141d1ac81fb0f126619ae

3 REPLIES 3

mm2270
Legendary Contributor III

easyedc
Valued Contributor II

Thanks for that @mm2270. I went through the FRs and didn't find anything, but then again, what I think I'm searching for may be the same thing but someone else calls it a completely different topic.

were_wulff
Valued Contributor II

@easyedc

Second to last comment on the FR linked by @mm2270 has the PI number.

For ease, I'll post it here as well: PI-002982.

Thanks!
Amanda Wulff
Jamf Support