<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 1, 2022 at 5:10 AM Dave Woodfall <<a href="mailto:dave@slackbuilds.org">dave@slackbuilds.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 01/05/22 04:58,<br>
Konrad J Hambrick <<a href="mailto:kjhambrick@gmail.com" target="_blank">kjhambrick@gmail.com</a>> put forth the proposition:<br>
<snip><br>
> Question:  is there a better way ( or a recommended way ) to enter long,<br>
> formatted<br>
> lists of text like NEW_CAT in the code snippet below ?<br>
...<br>
>    NEW_CAT="Science;Math;ImageProcessing;DataVisualization"<br>
>    NEW_CAT="$NEW_CAT;Geoscience;NumericalAnalysis;Qt;"<br>
<br>
If text width matters then that's how to enter long strings and<br>
keeping within a limit.  Under bash/zsh you can also use +=<br>
<br>
NEW_CAT="Science;Math;ImageProcessing;DataVisualization"<br>
NEW_CAT+=";Geoscience;NumericalAnalysis;Qt;"<br>
<br>
> Note that many other SBo Packages also fail `desktop-file-validate` so<br>
> maybe this was<br>
> all a fools-errand :)<br>
<br>
Well it is only a warning, not an error, so it wouldn't fail the<br>
slackbuild.<br>
<br>
--<br>
Dave<br></blockquote><div><span class="gmail_default" style="font-family:monospace,monospace">Thanks Dave !</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">I had forgotten that SlackBuilds for Slackware 15.0 and beyond require #!/bin/bash</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">The += Operator is the way to go :)</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">-- kjh</span> </div></div></div>