Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Linux only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Linux
shell programming
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
zy413952631
New Member
Join Date:
Feb 2009
Posts:
7
#1
shell programming
Mar 25 '09, 01:47 AM
please help me check the script below and tell me what is wrong and how to correct.Thank you
read num
for i in 1 2 3
s =`echo $num |cut -c $i `
gpraghuram
Recognized Expert
Top Contributor
Join Date:
Mar 2007
Posts:
1275
#2
Mar 25 '09, 05:52 AM
Code:
for i in 1 2 3 do #missing s =`echo $num |cut -c $i ` done #missing
also what is $num value?
Raghu
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment