Ignore:
Timestamp:
Nov 22, 2018 1:50:37 PM (5 years ago)
Author:
raasch
Message:

sed-command to remove repeated space-characters replaced by tr-command, to guarantee mac compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r3549 r3555  
    2727# -----------------
    2828# $Id$
     29# sed-command to remove repeated space-characters replaced by tr-command, to
     30# guarantee mac compatible
     31#
     32# 3549 2018-11-21 15:44:44Z raasch
    2933# ssh-call for submitting batch jobs on remote systems modified to avoid output
    3034# of login messages on specific systems
     
    674678
    675679       # REPLACE REPEATING SPACES BETWEEN THE COLUMNS BY A SINGLE SPACE
    676     line=`echo "$line" | sed -e "s/\s\{1,\}/ /g"`
     680       # HERE, TR IS USED INSTEAD OF SED TO GUARANTEE MAC COMPATIBILITY
     681    line=`echo "$line" | tr -s " "`
    677682
    678683       # INTERPRET THE LINE
Note: See TracChangeset for help on using the changeset viewer.