|
Letzte Leerzeile aus Datei entfernen
Hey,
ich hab fogendes Problem! Ich bekomm .txt-Files die ich per Script Zeilenweise verarbeiten muss! Diese Files haben aber leider immer einen letzten Zeilenumbruch, sprich eine letzte Zeile ohne Inhalt. Kann ich diese Leerzeile irgendwie mit einer Funktion entfernen?
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|