[HPADM] Scripting Question

From: Lal, Neeraj (Neeraj.Lal_at_pfizer.com)
Date: 11/04/03

  • Next message: Paveza, Gary: "[HPADM] SUMMARY: remsh and return codes"
    To: hpux-admin@dutchworks.nl
    Date: Tue, 4 Nov 2003 16:30:18 -0500 
    
    

    Hi Admin's

    Quick Question on Scripting

    I receive data file and in that file I have to check that in the last if it
    is blank or Carriage return Remove that Line else don't do anything.

    Thanks

    Neeraj Lal
    Pfizer Inc.
    Consultant CHC-IS
    973-385-2734

    --
                 ---> 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: Paveza, Gary: "[HPADM] SUMMARY: remsh and return codes"

    Relevant Pages

    • Re: Carriage Returns
      ... But I need to send this data file to the Unix ... >> machine once I remove the carriage retunrns from my XP machine. ... opposite operation is not going to happen, because the output file is ...
      (comp.lang.c)
    • Re: *.xml files - carriage returns go into file in VMS - how toremove CRs?
      ... return carriage control). ... SET FILE mumble.xml /ATTRIB=RAT=NONE ... and see if you now have 1 or 2 CRs at the end of the line. ... extraneous characters from the data file nor outputs extraneous ...
      (comp.os.vms)
    • Re: Carriage Returns
      ... But I need to send this data file to the Unix ... >> machine once I remove the carriage retunrns from my XP machine. ... > returns from and redirect stdout to the new file. ... both stdin and stdout are text streams by default. ...
      (comp.lang.c)
    • Re: Carriage Returns
      ... > I have a data file and I want to remove Carriage returns. ... > C code/program which does this? ... > the Unix machine once I remove the carriage retunrns from my XP machine. ...
      (comp.lang.c)
    • Carriage Returns
      ... I have a data file and I want to remove Carriage returns. ... I am working on Windows XP machine.....I don't ... have access to UNIX machine. ...
      (comp.lang.c)