The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Capture carriage return.
.
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
:
Capture carriage return.
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
12-15-2003
oombera
Registered User
Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
You could also use awk:
var="adfadf"
echo $var | awk '{print length($0)}
oombera
View Public Profile
Visit oombera's homepage!
Find all posts by oombera
Find oombera's past nominations received
Find oombera's present nominations given