This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>> Can you give me 1 or 2 examples of the PIPE script in action? The most straight forward example: -- cut here begin -- #!/bin/bash # pqact example: # NGRID .* # PIPE -close /data/myfilename if [ -s /etc/profile ]; then source /etc/profile fi basedir="${1}" myuuid=`uuidgen` cat > ${basedir}.${myuuid} -- cut here end -- A more elaborate example, so you can place the uuid within a configuration from pqact: #!/bin/bash # pqact example: # NGRID .* # PIPE -close /data/myfilename.UUID.mysuffix if [ -s /etc/profile ]; then source /etc/profile fi basedir="${1}" myuuid=`uuidgen` myoutput=`echo "${basedir} | sed -e "s/UUID/${myuuid}/g"` cat > ${myoutput} -- cut here end -- Ticket Details =================== Ticket ID: PJU-328972 Department: Support LDM Priority: Normal Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.