![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| character set conversion in unix C | gucho | High Level Programming | 1 | 03-01-2008 08:27 AM |
| conversion from Unix to windows | kiwi_bloke | Shell Programming and Scripting | 3 | 10-10-2005 01:56 PM |
| Dos to Unix conversion | john413 | Shell Programming and Scripting | 1 | 09-10-2005 03:13 PM |
| Unix to EBCDIC conversion | Bab00shka | UNIX for Dummies Questions & Answers | 2 | 01-20-2005 12:58 PM |
| Time conversion in Unix | kamlakar | UNIX for Advanced & Expert Users | 1 | 04-22-2002 12:55 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
unix script and unix2dos conversion
Hi,
I am a newbie and do not have much experience using unix. But I have been trying to understand it. I found the following unix script typeset -i n=0 while [! -s vel.txt] do sleep 5 echo "${n}:Fluent is running...." n=${n}+1 done I have the following doubts: 1) In the first line - I am aware that we are defining a variable n and setting its value to zero. What does the '-i' do ? 2) Does the while loop say that while vel.txt does NOT exist, keep printing "Fluent is running..." ? What does the '-s' stand for? 3) I need to convert this to DOS batch script.. Is the following, a correct translation ? SET n=0 WHILE NOT vel.txt DO SLEEP 5 ECHO "%{n}% : Fluent is running..." n = %{n}% + 1 DONE Any help will be much appreciated. Thanks |
|
||||
|
Quote:
|
| Sponsored Links | ||
|
|