From: Thomas Schweikle <tps@vr-web.de>
To: gentoo-user-de@lists.gentoo.org
Subject: [gentoo-user-de] Re: rsync Port
Date: Sat, 20 Aug 2005 14:49:18 +0200 [thread overview]
Message-ID: <430726CE.7010206@vr-web.de> (raw)
In-Reply-To: <2def88b8050820053643ef3da3@mail.gmail.com>
Arnold Krille schrieb:
> On 8/20/05, Thomas Schweikle <tps@vr-web.de> wrote:
>> 2. ctrl-h um den alten Befehl angezeigt zu bekommen,
>> anschließend die Korrektur tippen:
>> " | grep rsync"
>> Es wäre schlimm, wäre es so wie unter einer gewissen anderen Shell, wenn
>> das nicht grundsätzlich funktionieren würde!
>
> Also erstens bekommt man den letzten Befehl auch mit Pfeil-nach-oben,
> zweitens, vorausgesetzt Du meinst die Shell von Windos, bekommt man
> dort den letzten Befehl Zeichenweise mit Pfeil-nach-rechts...
Stimmt. Nur probier mal etwas wie:
call :irgendwas parameter_1 parameter_2 | filter > logfile
goto :EOF
:irgendwas
irgendwas
goto :EOF
das kann funktionieren, muß aber nicht. Manchmal wird das Kommando
ausgeführt, manchmal gibt es nur eine Fehlermeldung. Es hängt davon ab,
was genau in den Parametern drinsteht. Außerdem funktioniert eine
Ausgabeumleitung/Pipe nicht grundsätzlich mit "call" zusammen.
dagegen in der Bash:
function irgendwas()
{
irgendwas
}
irgendwas | Filter > logfile
funktioniert garantiert.
> Hätte nie gedacht, das ich mal ansatzweise win unterstütze...
Da kommt keiner drum herum. Windows ist einfach zu verbreitet... ;-)
--
Thomas
--
gentoo-user-de@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-20 12:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-04 7:38 [gentoo-user-de] rsync Port Carsten Jahnke
2005-08-04 8:08 ` Sebastian Damm
2005-08-04 8:19 ` Dirk Heinrichs
2005-08-04 8:57 ` Sebastian Damm
2005-08-04 9:30 ` Dirk Heinrichs
2005-08-20 10:30 ` [gentoo-user-de] " Thomas Schweikle
2005-08-20 12:36 ` Arnold Krille
2005-08-20 12:49 ` Thomas Schweikle [this message]
2005-08-20 16:17 ` Thomas Schweikle
2005-08-22 11:01 ` [gentoo-user-de] " Eckard Brauer
2005-08-22 11:08 ` Dirk Heinrichs
2005-08-04 8:13 ` Dirk Heinrichs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=430726CE.7010206@vr-web.de \
--to=tps@vr-web.de \
--cc=gentoo-user-de@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox