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 -->
#
1
(
permalink
)
12-15-2003
gio123bg
Registered User
Join Date: Nov 2003
Posts: 15
Capture carriage return.
I try to test the carriage return in a variable.
$ LENGTH=`expr $VARIABLE : ".*"` will return the length of the variable. But this doesn't work if $VARIABLE has zero length.
Any help will be well appreciated.
Thanks in advance.
Giovanni
gio123bg
View Public Profile
Find all posts by gio123bg
Find gio123bg's past nominations received
Find gio123bg's present nominations given