المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Less for Dreambox



ALTAYEB
22-07-2010, 05:49 PM
less is a terminal pager program on Unix, Windows and Unix-like systems used to view (but not change) the *******s of a text file one screen at a time. It is similar to more, but has the extended capability of allowing both forward and backward navigation through the file. Unlike most Unix text editors/viewers, less does not need to read the entire file before starting, resulting in faster load times with large files.

Usage

less can be invoked with options to change its behaviour, for example, the number of lines to display on the screen. A few options vary depending on the operating system. While less is displaying the file, various commands can be used to navigate through the file. These commands are ****d on those used by both more and vi. It is also possible to search for character patterns in the file.

By default, less displays the *******s of the file to the standard output (one screen at a time). If the file name argument is omitted, it displays the *******s from standard input (usually the output of another command through a pipe). If the output is redirected to anything other than a terminal, for example a pipe to another command, less behaves like cat.





أقل

اقتباس :
أقل هو برنامج الاستدعاء محطة على يونيكس ، ويندوز وأنظمة يونكس مثل استخدامه لمشاهدة (ولكن لا تغيير) محتويات ملف نصي شاشة واحدة في وقت واحد. ومن مماثلة لأكثر من ذلك ، ولكن لديها القدرة مدد السماح للأمام والخلف على حد سواء من خلال تصفح الملف. وخلافا لمعظم المحررين النص / يونكس المشاهدين ، وأقل ليست في حاجة لقراءة الملف بأكمله قبل أن تبدأ ، مما أدى إلى تحميل أسرع الأوقات مع الملفات الكبيرة.

استعمال

يمكن التذرع أقل مع خيارات لتغيير سلوكها ، على سبيل المثال ، يصل عدد خطوط للعرض على الشاشة. وهناك خيارات قليلة تختلف تبعا لنظام التشغيل. وفي حين أن أقل يتم عرض الملف ، أوامر مختلفة أن تستخدم للتنقل من خلال الملف. وتستند هذه الأوامر على تلك المستخدمة من قبل كل من السادس وأكثر. ومن الممكن أيضا للبحث عن أنماط الشخصية في الملف.

افتراضيا ، أقل يعرض محتويات الملف إلى الإخراج القياسي (الشاشة في وقت واحد). إذا تم حذف الوسيطة اسم الملف ، فإنه يعرض محتويات من الإدخال القياسي (عادة ما يكون ناتج أمر آخر عبر الأنابيب). إذا تم إعادة توجيه الإخراج إلى أي شيء آخر من محطة ، على سبيل المثال أنبوب إلى أمر آخر ، أقل يتصرف مثل القط.