Translate Tulkot

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/NorwegianÖversätta till Svensk/Swedishहिन्दी अनुवाद करने के लिए/Hindi
Tradueix al català/CatalanTulkot uz latviešu/LatvianPreložiť do slovenčiny/SlovakVertaal aan het Nederlands/Dutchترجمة الى العربية/ArabicTraduzca al Español/SpanishTraduisez au Français/French
Traduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplified中文翻译/Chinese TraditionalПереклад на українську/Ukrainian

Scripting HAL Scripting HAL

Recent releases of Fedora and other GNU/Linux distributions include a Hardware Abstraction Layer (HAL) which is used to support device plug-and-play capabilities.  In this post I will show you how your shell scripts can use HAL to retrieve device and system information. Pēdējos izplatīšanu Fedora un citu GNU / Linux sadali ietvert Hardware Abstrakcija slāni (HAL), kas tiek izmantota, lai atbalstītu ierīce plug-and-play spējas. Šajā amatā es jums parādīs, kā jūsu čaulas skriptus var izmantot HAL ielādēt ierīces un sistēmas informāciju.

The term HAL is overloaded as it used to refer both to a specification [...] Termins HAL ir pārslogota, jo tā izmanto, lai apzīmētu gan specifikācija [...]

KSH93 Extended Patterns Ksh93 Paplašinātā Patterns

According to David Korn, a shell is primarily a string processing language.  Pattern matching is an important compoment of any such language and indeed Korn Shell 93 (ksh93) has excellent support for extended patterns as well as regular expressions.  Extended patterns can be thought of as class or type of extended regular expressions.  Both [...] Saskaņā ar David Korn, apvalks galvenokārt string pārstrādes valodā. Pattern saskaņošana ir svarīgs jebkuras šādas valodas DAĻAI un pat Korn Shell 93 (ksh93) ir lielisks atbalsts paplašinātai modeļus, kā arī regulārus izteicienus. Paplašinātā modeļi var tikt uzskatīts par kā klases vai pagarināts regulārās izteiksmes veidam. Abi [...]

JavaScript E4X JavaScript E4X

In previous posts, I discussed the SpiderMonkey command line shell js and how to add support to it to enable full access (read, write, create, copy, delete, etc.) to the local filesystem via the File object and the NSPR library. Iepriekšējos punktos, es apsprieda SpiderMonkey komandrindas apvalks JS un kā pievienot atbalstu, lai ļautu pilnu piekļuvi (lasīt, rakstīt, izveidot, kopēt, dzēst, utt), lai vietējā failu caur File objektu un NSPR bibliotēka.

While rumaging around in the source code and documentation for js, I found that js [...] Kaut rumaging pa pirmkodu un js dokumentāciju, es atklāju, ka js [...]

JavaScript File Object JavaScript Failu Objekts

As you are probably aware JavaScript engines such as SpiderMonkey typically do not allow access to the local filesystem for reasons of security.  To enable developers to test the scripts from a command line, js includes the load() function which enables you to load one or more JavaScript scripts into the SpiderMonkey engine.  However this [...] Kā jūs droši vien zina JavaScript dzinēju, piemēram, SpiderMonkey parasti nenodrošina piekļuvi vietējai filesystem drošības apsvērumu dēļ. Lai izstrādātājiem testa skriptu no komandrindas, JS ietver slodze () funkciju, kas ļauj ielādēt vienu vai vairāk JavaScript skripti SpiderMonkey dzinējs. Taču šī [...]

KSH93 Stat Builtin Ksh93 Stat Iebūvēts

One of the builtin commands that is missing in ksh93, in my humble opinion, is a builtin similar to stat(1) which would return information about a file.  Here is my initial implementation of a stat builtin.  The output is a compound variable whose subvariables contain the contents of the various fields of the stat(2) structure.  [...] Viens no builtin komandas, kas trūkst ksh93, pēc manām pazemīgs atzinumu, ir builtin līdzīgs stat (1), kas atgriežas informāciju par failu. Te ir manas sākotnējās ieviešanas stat builtin. Produkcija ir savienojums mainīgais, kura subvariables satur saturu dažādās jomās stat (2) struktūrai. [...]