Changeset 10597 in genesis for tools


Ignore:
Timestamp:
Apr 26, 2012, 6:14:50 PM (13 years ago)
Author:
rick
Message:

TABS zijn niet de enige seperators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10588 r10597  
    517517  # Hybrid Configuration
    518518  #
    519   list_ileiden_proxies=`cat <<EOF | cut -f 1 | tr '\\n' ','
     519  list_ileiden_proxies=`cat <<EOF | awk '{ print $1 }' | tr '\\n' ','
    520520  {% for item in autogen_ileiden_proxies -%}
    521521    {{ "%-16s"|format(item.masterip) }} # {{ item.autogen_realname }}
    522522  {% endfor -%}
    523523  EOF`
    524   list_normal_proxies=`cat <<EOF | cut -f 1 | tr '\\n' ','
     524  list_normal_proxies=`cat <<EOF | awk '{ print $1 }' | tr '\\n' ','
    525525  {% for item in autogen_normal_proxies -%}
    526526    {{ "%-16s"|format(item.masterip) }} # {{ item.autogen_realname }}
Note: See TracChangeset for help on using the changeset viewer.