The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
need to find last character in each line in all files
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
need to find last character in each line in all files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
01-24-2008
quintet
Registered User
Join Date: Jun 2006
Posts: 95
try this
sed
-e :a -e '/;$/!N;s/\n//; ta' -e 's/;$//' file
quintet
View Public Profile
Find all posts by quintet
Find quintet's past nominations received
Find quintet's present nominations given