View previous topic :: View next topic |
Author |
Message |
disi Veteran
Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
Posted: Thu Jul 26, 2012 11:58 am Post subject: Windows PowerShell |
|
|
Lese mich das gerade ein...
Finde das ziemlich cool eigentlich, viele Standard-Dinge sind vorhanden: pipes,redirects,cat,pwd,echo,set,functions,objects etc.
Was micht etwas veraergert ist so, wie MS seine Shell anpreist lol
Quote: | Most shells, including Cmd.exe and the SH, KSH, CSH, and BASH UNIX shells, operate by executing a command or utility in a new process, and presenting the results to the user as text. Over the years, many text processing utilities, such as sed, AWK, and PERL, have evolved to support this interaction.
These shells also have commands that are built into the shell and run in the shell process, such as the typeset command in KSH and the dir command in Cmd.exe. In most shells, because there are few built-in commands, many utilities have been created. |
Und dann:
Quote: | Windows PowerShell does not process text. Instead, it processes objects based on the .NET Framework platform. |
Als wenn ein String, kein Objekt waere
//edit: und 'ls' _________________ Gentoo on Uptime Project - Larry is a cow
Last edited by disi on Thu Jul 26, 2012 12:58 pm; edited 1 time in total |
|
Back to top |
|
|
bell Guru
Joined: 27 Nov 2007 Posts: 510
|
Posted: Thu Jul 26, 2012 12:34 pm Post subject: |
|
|
Grrrrrrrr
Die meisten Unix-Shells haben Build-in Kommandos. Das Extremum: Busybox wurde gar nicht erwähnt.
Und die Unix-Shells verarbeiten auch keine Texte sondern Datenströme, lesbar oder nicht.
Quote: | viele Standard-Dinge sind vorhanden: pipes,redirects,cat,pwd,echo,set,functions,objects etc. |
Versuche mal ein Code: | strings PowerShellDateien* | grep BSD |
Würde mich nicht umhauen. |
|
Back to top |
|
|
disi Veteran
Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
|
Back to top |
|
|
tazinblack Veteran
Joined: 23 Jan 2005 Posts: 1146 Location: Baden / Germany
|
Posted: Thu Jul 26, 2012 7:31 pm Post subject: |
|
|
hmm, damit muss ich mich in nächster Zeit auch noch auseinandersetzen.
Da geht mir jetzt schon jedes Nackenhaar hoch
Genauso, wenn jemand sagt Windows sei posixkompatibel. _________________ Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes |
|
Back to top |
|
|
disi Veteran
Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
Posted: Fri Jul 27, 2012 12:03 pm Post subject: |
|
|
tazinblack wrote: | hmm, damit muss ich mich in nächster Zeit auch noch auseinandersetzen.
Da geht mir jetzt schon jedes Nackenhaar hoch
Genauso, wenn jemand sagt Windows sei posixkompatibel. |
Und tut nicht mehr
//edit: hihi:
Code: | PS D:\powershell> man process
Name Category Synopsis
---- -------- --------
Get-Process Cmdlet Gets the processes that are running on the local computer or a remote co...
Stop-Process Cmdlet Stops one or more running processes.
Wait-Process Cmdlet Waits for the processes to be stopped before accepting more input.
Debug-Process Cmdlet Debugs one or more processes running on the local computer.
Start-Process Cmdlet Starts one or more processes on the local computer. |
Es sind so ziemlich alle ueblichen Aliase fuer Unix Commands gesetzt, um .NET Skipte auszufuehren als Cmdlet
//edit: Code: | function touch { fsutil.exe file createnew $args 10 } | _________________ Gentoo on Uptime Project - Larry is a cow |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Sun Jul 29, 2012 12:59 pm Post subject: |
|
|
Ich bin von der Windows PowerShell sehr begeistert. Wenn ich bei Kunden bin, und zwangsweise Windows eingesetzt wird (Wir verwenden nur Linux, jeder Entwickler sein eigenes unter eigener Hoheit), muss ich nicht mehr "betteln" Cygwin installieren zu dürfen. Zugegeben: Wenn ich die Wahl habe klebt schneller Cygwin auf der Maschine als der Admin husten kann, aber wenn ich die Wahl _nicht_ habe, ist die PS schon eine Hilfe. _________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|