IBM Support

IZ63017: VI -C G/JUNK/P -C Q \<FILENAME\> GOES INTO VISUAL MODE APPLIES TO AIX 5300-12

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • vi -c g/<string>/p -c q <filename> will display the occurrences
    of string <string> in <filename> and then open the file in
    visual mode. While it should not open file as subsequent
    subcommand is "-c q"
    

Local fix

Problem summary

  • vi -c g/<string>/p -c q <filename> will display the occurrences
    of string <string> in <filename> and then open the file in
    visual mode. While it should not open file as subsequent
    subcommand is "-c q"
    

Problem conclusion

  • Code has been changed to handle multiple "-c" flags of vi/ex
    commands. In case of 'g' don't exit out to the parent functi-
    on. Instead keep on parsing subsequent subcommands and take
    action accordingly.
    

Temporary fix

Comments

  • 5300-12 - use AIX APAR IZ63017
    6100-05 - use AIX APAR IZ63506
    

APAR Information

  • APAR number

    IZ63017

  • Reported component name

    AIX 5.3

  • Reported component ID

    5765G0300

  • Reported release

    530

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2009-10-13

  • Closed date

    2009-10-13

  • Last modified date

    2013-03-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IZ63506 IZ64153

Fix information

  • Fixed component name

    AIX 5.3

  • Fixed component ID

    5765G0300

Applicable component levels

  • R530 PSY U827077

       UP10/04/15 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11P","label":"APARs - AIX 5.3 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"530","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 March 2013