[HPADM] summary hpux scripting with a crypt file

From: Joey Beetle (using_unix_at_hotmail.com)
Date: 01/13/05

  • Next message: Marshall, Richard: "[HPADM] Configuration, Release management"
    To: hpux-admin@dutchworks.nl
    Date: Thu, 13 Jan 2005 09:50:01 -0500
    
    

    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)
    

  • Next message: Marshall, Richard: "[HPADM] Configuration, Release management"

    Relevant Pages

    • Re: multi-threaded app/ using lock
      ... I am using multiple child threads per main thread to download files. ... public delegate string ThreadFinishedCallback; ... sFileName = GetNextFileName; ...
      (microsoft.public.dotnet.languages.csharp)
    • RE: Internet Table Transfer
      ... URLDownloadToFile is an api function. ... ActiveX component. ... callbacks on the progress of the download. ... Pointer to a string value containing the URL to be downloaded. ...
      (microsoft.public.excel.programming)
    • Re: How to download a file from the internet using inet control
      ... 'Download an URL to a local file without caching. ... Public Function DownloadURL2FileNoCache(ByRef sSourceUrl As String, ... Dim BufferAs Byte ... Dim lNumberOfBytesRead As Long ...
      (microsoft.public.vb.general.discussion)
    • Re: Internet download APIs only get first part of file, rest is blank
      ... filling up the rest of the string. ... Code for the download function follows ... ... Private Declare Function InternetCloseHandle Lib "wininet" (ByVal hInet As ...
      (microsoft.public.vb.general.discussion)
    • Question for Randy Birch About Download File
      ... I am using the following code from Randy's site to download some extra files ... DownloadTempRegKey As String 'temporary download destination folder ... Private Declare Function RegQueryValueEx Lib "advapi32.dll" _ ... Dim dldata As FileRegistryDownloadData ...
      (microsoft.public.vb.general.discussion)