[HPADM] summary hpux scripting with a crypt file

From: Joey Beetle (using_unix@hotmail.com)
Date: Thu Jan 13 2005 - 09:50:01 EST


Thanks ,,

by appending the \c to the end of the echo statement work fine on what I was
looking for.

Thanks to Bill Hassell and Geraldo Oliva

echo "$A\c"

>From: "Joey Beetle" <using_unix@hotmail.com>
>To: hpux-admin@dutchworks.nl
>Subject: [HPADM] hpux scripting with a crypt file
>Date: Wed, 12 Jan 2005 14:54:59 -0500
>
>
>
>
>if [ -z "$1" ]
>then
> echo "Enter nodename: \c"
> read node
>
> for A in `crypt <.net |grep $node"`
> do
> echo $A
> done
>
>
>------out put ------
>
>Patriot:
>apples
>:
>applcation server
>
>
>I would like to see the string not spilt.
>I want to have the string look
>
>Patriot:apples:applcation server
>
>Can anybody help ?
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today - it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>--
> ---> Please post QUESTIONS and SUMMARIES only!! <---
> To subscribe/unsubscribe to this list, contact
>majordomo@dutchworks.nl
> Name: hpux-admin@dutchworks.nl Owner:
>owner-hpux-admin@dutchworks.nl
>
>Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
>only)
> http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
>search)
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:45 EDT