![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need docs. | rimser9 | Shell Programming and Scripting | 2 | 03-11-2008 05:56 AM |
| Indent output of an UNIX command | ssray23 | UNIX for Dummies Questions & Answers | 2 | 12-08-2005 07:52 AM |
| need HP-UX docs | livemyway | HP-UX | 4 | 12-03-2005 04:38 AM |
| vim indent | Virtuosso | UNIX for Dummies Questions & Answers | 4 | 02-06-2003 01:15 PM |
| Auto indent in vi | sierra_aar | UNIX for Dummies Questions & Answers | 1 | 06-19-2002 07:36 AM |
|
|
LinkBack | Thread Tools | 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
!
|
| Forum Sponsor | ||
|
|
|
||||
|
In ksh, you can use <<- which will delete leading TABs (but not spaces).
See here-documents. |