Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to remove blank at eof in a text file
hello all
in the file below it has 7 records but alines() displays 8. how to get rid of the 8th blank line.
txs
80171410122310172001A000000000GINA Rt 06231955FB5187786158 LAKE ROAD LE ROY NY14482 DD09009088815000016425010951500001642502190016425010951402A8888B05B880317665GDY
80171410112310172001A000000000CHRISTOPHER Jt 07131955MB5187786158 LAKE ROAD LE ROY NY14482 DD09009088815000016425010951500001642502190016425010951402A8888B05B880158832GDY
80171410122311032001A000000000JAMES Et 04051941MU5187739425 ATHOL NY12810 DB09009088814800016206010951480001620602190016206010951402A8888B05B880148304AAY
80171410122311032001A000000000CONSTANCE At 02131940FU5187798684 SAND CREEK RD ALBANY NY12205 DB09009088820000021900010952000002190002190021900010951402AZ888B05B880372336ADY
80171410122312182001A000000000CAROL St 03241940FB5187741051 WINTON ROAD SOUTH ROCHESTER NY14610 DD09009088815000016425010951500001642502190016425010951402A8888B05B880232720AAY
80171410112312182001A000000000NICHOLAS Jt 09141941MB5187741051 WINTON ROAD SOUTH ROCHESTER NY14610 DD09009088815000016425010951500001642502190016425010951402A8888B05B880116360AAY
80171410122312202001A000000000MARTHA L 08231945FU518778302 WEST SPRUCE STREET EAST ROCHESTER NY14445 DB09009088815000016425010951500001642502190016425010951402A8888B05B880139498ABY
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement