*Synopsis*: shlint missing ending newline on errors
CR 6809663 changed on Feb 25 2009 by <User 1-5Q-1267>
=== Field ============ === New Value ============= === Old Value =============
Description New Note Old Note
====================== =========================== ===========================
*Change Request ID*: 6809663
*Synopsis*: shlint missing ending newline on errors
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype:
Status: 1-Dispatched
Substatus:
Priority: 4-Low
Introduced In Release:
Introduced In Build:
Responsible Engineer:
Keywords:
=== *Description* ============================================================
shlint doesn't print a final newline at the end of its output - since
my prompt resets to the beginning of the line, that makes the last line
appear to disappear - for others, it would just cause the prompt to appear
way over in the middle of the line, which is still annoying.
<email address omitted>:/export/dev/alanc [5:06pm - 371] cat foo.sh
#! /bin/ksh93
if foo ;
print "forgot then!"
fi
<email address omitted>:/export/dev/alanc [5:06pm - 372]
/usr/demo/ksh/bin/shlint foo.sh
<email address omitted>:/export/dev/alanc [5:06pm - 373]
/usr/demo/ksh/bin/shlint foo.sh ; echo
foo.sh: syntax error at line 5: `fi' unexpected
<email address omitted>:/export/dev/alanc [5:06pm - 374]
*** (#1 of 1): 2009-02-25 01:10:03 GMT+00:00 <User 1-5Q-1267>
*** Last Edit: 2009-02-25 01:13:59 GMT+00:00 <User 1-5Q-1267>
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
Add an echo after shlint calls as shown in description.
*** (#1 of 1): 2009-02-25 01:10:03 GMT+00:00 <User 1-5Q-1267>
=== *Additional Details* =====================================================
Targeted Release:
Commit To Fix In Build:
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also:
Duplicate of:
Hooks:
Hook1:
Hook2:
Hook3:
Hook4:
Hook5:
Hook6:
Program Management:
Root Cause:
Fix Affects Documentation: No
Fix Affects Localization: No
=== *History* ================================================================
Date Submitted: 2009-02-25 01:10:02 GMT+00:00
Submitted By: <User 1-5Q-1267>
Status Changed Date Updated Updated By
=== *Service Request* ========================================================
Impact: Limited
Functionality: Primary
Severity: 3
Product Name: solaris
Product Release: solaris_nevada
Product Build:
Operating System: solaris
Hardware: generic
Submitted Date: 2009-02-25 01:10:03 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================