Patch Name: PHCO_27887 Patch Description: s700_800 11.00 join(1) cumulative patch Creation Date: 02/09/26 Post Date: 02/10/14 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27887 Symptoms: PHCO_27887: 1.join(1) fails to compare two files properly with -v option. Defect Description: PHCO_27887: 1. join(1) command fails to compare files properly with -v option because of incorrect comparison of the fields for the specific files. Here are the steps to reproduce the problem: (a).Consider two files , first and second $cat > first << EOF 5 EOF $cat > second << EOF 1,2,3,4,5 6,7,8,9,5 EOF (b).Execute join command with -v option $ join -t, -1 1 -2 5 -v 2 first second 5,6,7,8,9 $ Resolution: The code has been modified to compare the field of the second file instead of comparing the field of the first file , for the -v option . Enhancement: No SR: 5003418301 8606244966 Patch Files: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/join what(1) Output: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/join: $Revision: 80.1.1.3 $ PATCH_11_00: join.o 02/09/26 cksum(1) Output: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3893283099 24576 /usr/bin/join Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 40 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_27887 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27887.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27887. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_27887.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27887.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27887.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None