![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need docs. | rimser9 | Shell Programming and Scripting | 2 | 03-11-2008 09:56 AM |
| Indent output of an UNIX command | ssray23 | UNIX for Dummies Questions & Answers | 2 | 12-08-2005 11:52 AM |
| need HP-UX docs | livemyway | HP-UX | 4 | 12-03-2005 08:38 AM |
| vim indent | Virtuosso | UNIX for Dummies Questions & Answers | 4 | 02-06-2003 05:15 PM |
| Auto indent in vi | sierra_aar | UNIX for Dummies Questions & Answers | 1 | 06-19-2002 10:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
[non-important] Indent here-docs?
I recently coded a typical ftp script looking like
Code:
ftp -n $hostname << user $user $pass <commands..> quit ! Code:
ftp $hostname <<
user $user $pass
<commands..>
quit
!
|
|
|||||
|
In ksh, you can use <<- which will delete leading TABs (but not spaces).
See here-documents. |
|
||||
|
good idea.
Ahh, good idea. Thanks.
![]() |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|