[newbie] How to copy and paste many command at once ?



Hello,

i would like to know how am i suppose to finish my command lines to be
able to indent them and copy and paste them from Windows notepad to a
telnet screen ?

for example carriage return seems incorrect, i used to write for
example :
"""
for f in `ls`
do
command 1
command 2
done
"""
but it is odd, work on somes unix, not on others

now i sometimes uses ";" like in "command1 ; command2" and sometimes
uses "&&" like in "command1 && command2" but i do not know what is best
and if there are any differences ?

should i write
"""
for f in `ls` ;
do ;
command 1 ;
command 2 ;
done ;
"""
to be sure it will work on any unix/linux like ?

thanks

.



Relevant Pages

  • Re: How can I change default indent and tab spacing
    ... *increment* when using the Increase Indent command. ... Microsoft Word MVP ... When in word and I use the indent command it looks like it's .5" and what ... To change the default tabs for a document, ...
    (microsoft.public.word.pagelayout)
  • Re: Annoying vertical line in emails
    ... As the Sender in this case is using Outlook, not Outlook Express, you'll ... > However, if you don't want the line at all, then why do you have Indent ... >>> indent tab ... >> I agree that the Decrease Indent command is an answer to the ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Shortcut key for hanging indent
    ... So you can re-use cmd-T fine. ... even be reassigned because it's associated with another command that doesn't ... The traditional Word keyboard shortcut for a hanging indent, ...
    (microsoft.public.mac.office.word)
  • Re: special editor support for indentation needed.
    ... larger command invoked through speech recognition. ... about the environment so I can't tell whether I need to indent once or twice or ... a blind macro (i.e. one that is not aware of its environment) and therefore must ... Many of the features speech recognition users need from editors are these smart ...
    (comp.lang.python)
  • Re: Vim custom indent file
    ... command one ... My question is how do i write the indent Vim script for this? ... let ind = 0 ...
    (comp.editors)