Mailinglist Archive: opensuse (1318 mails)
| < Previous | Next > |
Re: [opensuse] BASH - while read; howto read last line in file without blank line at end?
- From: Randall R Schulz <rschulz@xxxxxxxxx>
- Date: Sat, 1 Nov 2008 06:14:54 -0700
- Message-id: <200811010614.54994.rschulz@xxxxxxxxx>
On Friday 31 October 2008 20:51, David C. Rankin wrote:
The "head" and "tail" commands may be of interest to you.
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Listmates,
I'm stumped on another simple BASH problem. How do I read the last
line of a file with a while loop without requiring a blank line at
the end of the file? Simple example I'm stuck on:
The "head" and "tail" commands may be of interest to you.
...
--
David C. Rankin
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |