The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
ksh - read file with leading spaces
.
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
:
ksh - read file with leading spaces
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
03-14-2008
momi
Registered User
Join Date: Mar 2008
Posts: 3
ksh - read file with leading spaces
Hi,
Could someone has any suggestions on this? When read a line from a file, I need to check the first char in the line, it could be a space or any char. But the leading spaces are removed by read.
Thanks.
momi
View Public Profile
Find all posts by momi
Find momi's past nominations received
Find momi's present nominations given