help me


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers help me
# 1  
Old 09-24-2008
help me

hi sir/madam
pls help me
how to read a word in awk program
# 2  
Old 09-24-2008
plz make ur quesry clear...so that we may able to ans ur query..
# 3  
Old 09-24-2008
puts some sample input and required output
# 4  
Old 09-24-2008
i want to read a word from the keyboard just like we use gets(str) in c laguage.
but how it is in awk
# 5  
Old 09-24-2008
try this,
Code:
awk 'BEGIN{ getline tmp < "/dev/tty"; print tmp }'  /dev/null

# 6  
Old 09-24-2008
Quote:
Originally Posted by subhendu81
plz make ur quesry clear...so that we may able to ans ur query..
Please don't use cyber chat styles Smilie

plz
ur
ans
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question