script/software that'll remove spaces at the end of lines?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pushpills
    Confirmed User
    • Jan 2004
    • 3700

    #1

    script/software that'll remove spaces at the end of lines?

    anyone know of any good software/script

    that will remove a spcae at the end of lines?


    and or something that can insert something at the end of and begging of lines too?



    would be helpful, 2 bucks via paypal!
  • just a punk
    So fuckin' bored
    • Jun 2003
    • 32385

    #2
    I could write if for you within 5 minutes (my ICQ is in profile)
    Obey the Cowgod

    Comment

    • Serge Litehead
      Confirmed User
      • Dec 2002
      • 5190

      #3
      in php its easy, just use rtrim(string) to remove whitespaces at the end of line
      but i get a feeling you need to do it in windows, there should be programs that do that.

      Comment

      • EZRhino
        Confirmed User
        • Jul 2003
        • 6258

        #4
        Did you try download.com for shit like that?

        Comment

        • goBigtime
          Confirmed User
          • Nov 2002
          • 7761

          #5
          do you have shell access?

          Comment

          • goBigtime
            Confirmed User
            • Nov 2002
            • 7761

            #6
            Originally posted by pushpills

            that will remove a spcae at the end of lines?
            perl -pe 's/\s*$//'

            Comment

            • just a punk
              So fuckin' bored
              • Jun 2003
              • 32385

              #7
              Done. Get it from here: http://www.maturedesign.com/ready/spkiller.exe
              Obey the Cowgod

              Comment

              • pushpills
                Confirmed User
                • Jan 2004
                • 3700

                #8
                nice work

                contact that guy if u need anything

                Comment

                • just a punk
                  So fuckin' bored
                  • Jun 2003
                  • 32385

                  #9
                  Originally posted by pushpills
                  nice work

                  contact that guy if u need anything
                  you're welcome
                  Obey the Cowgod

                  Comment

                  Working...