![]() |
|
|
|
|
|||||||
| UNIX Desktop for Dummies Questions & Answers Questions regarding GNOME, KDE, CDE, Open Office, etc go here. All UNIX and Linux Newbies Welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script for a 3 line paragraph | invinzin21 | Shell Programming and Scripting | 2 | 12-17-2007 09:11 PM |
| perl script first line | new2ss | Shell Programming and Scripting | 2 | 05-24-2007 01:17 AM |
| Interpreting a script line by line assistance | mdpgc | Shell Programming and Scripting | 0 | 02-21-2007 07:57 PM |
| Unix Script with line number at beginning of each line. | mascorro | Shell Programming and Scripting | 5 | 06-19-2006 01:34 PM |
| Shell script to join a line to the line that follows it | shashi_kiran_v | Shell Programming and Scripting | 6 | 06-22-2005 11:53 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
help on a script...just a line to go
hi all,
I'm trying to make a script in ksh, It's almost done...I just need help for a line that doesn't work...here it is: print -p ELENCO=`ls air*` and here's in the script HOST=hostname USER=user PASSWD=pass cd /usr1/tmp/prova/ exec 4>&1 ftp -nv >&4 2>&4 |& print -p open $HOST print -p user $USER $PASSWD print -p binary print -p cd /elio/files/ print -p ELENCO=`ls air*` for job2 in $ELENCO ; do print -p get $job2 done print -p bye quit ! thanks in advance Elio p.s. the intention of the script is putting in a variable all the files matching a condition in a certain directory...i tryed to do the same in "inverse" with put instead of get with the variable declared outside of the ftp (with export) and it works perfectly...so i think the only problem is that |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|