mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
pages*: use " " instead of "=" to separate the options from their arguments, aria2c: fix example (#12726)
This commit is contained in:
parent
2ecc25e812
commit
e06b054c72
38 changed files with 85 additions and 85 deletions
|
@ -13,11 +13,11 @@
|
|||
|
||||
- নির্দিষ্ট পাইথন 2 ভাষা বৈশিষ্ট্যগুলি পাইথন 3 এ রূপান্তর করুন:
|
||||
|
||||
`2to3 --write {{ফাইলের/পথ.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{ফাইলের/পথ.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- নির্দিষ্ট না করে সমস্ত পাইথন 2 ভাষা বৈশিষ্ট্যগুলি পাইথন 3 এ রূপান্তর করুন:
|
||||
|
||||
`2to3 --write {{ফাইলের/পথ.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{ফাইলের/পথ.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- পাইথন 2 থেকে পাইথন 3 এ রূপান্তর করা যাবত সমস্ত উপলব্ধ ভাষা বৈশিষ্ট্যের তালিকা প্রদর্শন করুন:
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- একটি ডিরেক্টরিতে সমস্ত পাইথন 2 ফাইলগুলি পাইথন 3 এ রূপান্তর করুন:
|
||||
|
||||
`2to3 --output-dir={{পাথ/টু/পাইথন3_ডিরেক্টরি}} --write-unchanged-files --nobackups {{পাথ/টু/পাইথন2_ডিরেক্টরি}}`
|
||||
`2to3 --output-dir {{পাথ/টু/পাইথন3_ডিরেক্টরি}} --write-unchanged-files --nobackups {{পাথ/টু/পাইথন2_ডিরেক্টরি}}`
|
||||
|
||||
- মাল্টিপল থ্রেড সহ ২টু৩ চালান:
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{পাথ/টু/পাইথন3_ডিরেক্টরি}} --write --nobackups --no-diff {{পাথ/টু/পাইথন2_ডিরেক্টরি}}`
|
||||
`2to3 --processes {{4}} --output-dir {{পাথ/টু/পাইথন3_ডিরেক্টরি}} --write --nobackups --no-diff {{পাথ/টু/পাইথন2_ডিরেক্টরি}}`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- নির্দিষ্ট প্রকারের ফাইলগুলিতে সীমাবদ্ধ খোঁজ করুন:
|
||||
|
||||
`ack --type={{ruby}} "{{খোঁজের_প্যাটার্ন}}"`
|
||||
`ack --type {{ruby}} "{{খোঁজের_প্যাটার্ন}}"`
|
||||
|
||||
- নির্দিষ্ট প্রকারের ফাইলগুলিতে খোঁজুন না:
|
||||
|
||||
`ack --type=no{{ruby}} "{{খোঁজের_প্যাটার্ন}}"`
|
||||
`ack --type no{{ruby}} "{{খোঁজের_প্যাটার্ন}}"`
|
||||
|
||||
- পাওয়া মিলে সম্পূর্ণ ম্যাচের সম্পূর্ণ সংখ্যা গণনা করুন:
|
||||
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
- Lege einen Benutzer und eine Gruppe (ID oder Name) fest, der benutzt werden soll:
|
||||
|
||||
`chroot --userspec {{benutzer:gruppe}}`
|
||||
`chroot --userspec={{benutzer:gruppe}}`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Schneide einen bestimmten Bereich von Feldern jeder Zeile mit einem bestimmten Trennzeichen aus:
|
||||
|
||||
`{{befehl}} | cut --delimiter="{{,}}" --fields {{1}}`
|
||||
`{{befehl}} | cut --delimiter "{{,}}" --fields {{1}}`
|
||||
|
||||
- Schneide einen bestimmten Bereich von Zeichen jeder Zeile einer bestimmten Datei aus:
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
- Muestra registros de un proceso específico:
|
||||
|
||||
`logcat --pid={{pid}}`
|
||||
`logcat --pid {{pid}}`
|
||||
|
||||
- Muestra registros del proceso de un paquete específico:
|
||||
|
||||
`logcat --pid=$(pidof -s {{paquete}})`
|
||||
`logcat --pid $(pidof -s {{paquete}})`
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- Convierte funciones específicas del lenguaje Python 2 a Python 3:
|
||||
|
||||
`2to3 --write {{ruta/a/archivo.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{ruta/a/archivo.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- Convierte todas las funciones del lenguaje Python 2 excepto las especificadas a Python 3:
|
||||
|
||||
`2to3 --write {{ruta/a/archivo.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{ruta/a/archivo.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- Muestra una lista de todas las características disponibles del lenguaje que se pueden convertir de Python 2 a Python 3:
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- Convierte todos los archivos Python 2 en un directorio a Python 3:
|
||||
|
||||
`2to3 --output-dir={{ruta/a/directorio_python3}} --write-unchanged-files --nobackups {{ruta/a/directorio_python2}}`
|
||||
`2to3 --output-dir {{ruta/a/directorio_python3}} --write-unchanged-files --nobackups {{ruta/a/directorio_python2}}`
|
||||
|
||||
- Ejecuta 2to3 con varios subprocesos:
|
||||
|
||||
`2to3 --processes={{1..infinity}} --output-dir={{ruta/a/directorio_python3}} --write --nobackups --no-diff {{ruta/a/directorio_python2}}`
|
||||
`2to3 --processes {{1..infinity}} --output-dir {{ruta/a/directorio_python3}} --write --nobackups --no-diff {{ruta/a/directorio_python2}}`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Limita la búsqueda a archivos de un tipo específico:
|
||||
|
||||
`ack --type={{ruby}} "{{patrón_de_búsqueda}}"`
|
||||
`ack --type {{ruby}} "{{patrón_de_búsqueda}}"`
|
||||
|
||||
- Busca archivos que no sean de un cierto tipo:
|
||||
|
||||
`ack --type=no{{ruby}} "{{patrón_de_búsqueda}}"`
|
||||
`ack --type no{{ruby}} "{{patrón_de_búsqueda}}"`
|
||||
|
||||
- Cuenta el número total de coincidencias encontradas:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Descarga un archivo de una URI con un nombre de salida específico:
|
||||
|
||||
`aria2c --out={{ruta/al/archivo}} "{{url}}"`
|
||||
`aria2c --out {{ruta/al/archivo}} "{{url}}"`
|
||||
|
||||
- Descarga varios archivos diferentes en paralelo:
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
- Descarga con varias conexiones:
|
||||
|
||||
`aria2c --split={{numero_de_conexiones}} "{{url}}"`
|
||||
`aria2c --split {{numero_de_conexiones}} "{{url}}"`
|
||||
|
||||
- Descarga FTP con nombre de usuario y contraseña:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Convierte un archivo `.adoc` específico a HTML y vincula una hoja de estilos CSS:
|
||||
|
||||
`asciidoctor -a stylesheet={{ruta/al/stylesheet.css}} {{ruta/al/archivo.adoc}}`
|
||||
`asciidoctor -a stylesheet {{ruta/al/stylesheet.css}} {{ruta/al/archivo.adoc}}`
|
||||
|
||||
- Convierte un archivo específico `.adoc` en HTML incrustable, eliminando todo excepto el cuerpo:
|
||||
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
- Convierte un archivo `.adoc` dado en un PDF utilizando la biblioteca `asciidoctor-pdf`:
|
||||
|
||||
`asciidoctor --backend={{pdf}} --require={{asciidoctor-pdf}} {{ruta/al/archivo.adoc}}`
|
||||
`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{ruta/al/archivo.adoc}}`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Imprime un rango de campos de cada línea con un delimitador específico:
|
||||
|
||||
`{{comando}} | cut --delimiter="{{,}}" --fields {{1}}`
|
||||
`{{comando}} | cut --delimiter "{{,}}" --fields {{1}}`
|
||||
|
||||
- Imprime un rango de caracteres de cada línea de un archivo específico:
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
- نمایش لاگ های مربوط به یک PID مشخص :
|
||||
|
||||
`logcat --pid={{pid}}`
|
||||
`logcat --pid {{pid}}`
|
||||
|
||||
- نمایش لاگ های پروسه های مربوط به یک بسته مشخص :
|
||||
|
||||
`logcat --pid=$(pidof -s {{package}})`
|
||||
`logcat --pid $(pidof -s {{package}})`
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- تبدیل قابلیت های خاص پایتون نسخه 2 به 3 :
|
||||
|
||||
`2to3 --write {{path/to/file.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{path/to/file.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- تبدیل تمامی قابلیت های نسخه 2 به 3 بغیر از ویژگی های معیین شده :
|
||||
|
||||
`2to3 --write {{path/to/file.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{path/to/file.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- نمایش لیست قابلیت های زبان پایتون نسخه 2 که قابلیت تبدیل به نسخه 3 را دارند :
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- تبدیل تمامی فایل های پایتون نسخه 2 به 3 در یک مسیر :
|
||||
|
||||
`2to3 --output-dir={{path/to/python3_directory}} --write-unchanged-files --nobackups {{path/to/python2_directory}}`
|
||||
`2to3 --output-dir {{path/to/python3_directory}} --write-unchanged-files --nobackups {{path/to/python2_directory}}`
|
||||
|
||||
- اجرای همزان(چند رشته ای) دستور 2 به 3 :
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{path/to/python3_directory}} --write --nobackups --no-diff {{path/to/python2_directory}}`
|
||||
`2to3 --processes {{4}} --output-dir {{path/to/python3_directory}} --write --nobackups --no-diff {{path/to/python2_directory}}`
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- دانلود یک فایل از لینک موردنظر با اسم خروجی دلخواه:
|
||||
|
||||
`aria2c --out={{path/to/file}} "{{url}}"`
|
||||
`aria2c --out {{path/to/file}} "{{url}}"`
|
||||
|
||||
- دانلود چند فایل مختلف به صورت همزمان:
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
- دانلود با چندین اتصال مختلف:
|
||||
|
||||
`aria2c --split={{number_of_connections}} "{{url}}"`
|
||||
`aria2c --split {{number_of_connections}} "{{url}}"`
|
||||
|
||||
- دانلود از FTP با نام کاربری و رمزعبور:
|
||||
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- Convertir des fonctionnalités spécifiques de Python 2 vers Python 3 :
|
||||
|
||||
`2to3 --write {{chemin/vers/fichier.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{chemin/vers/fichier.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- Convertir toutes les fonctionnalités de Python 2 vers Python 3 sauf exceptions spécifiques :
|
||||
|
||||
`2to3 --write {{chemin/vers/fichier.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{chemin/vers/fichier.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- Afficher une liste de toutes les fonctionnalités de language qui peuvent être converties de Python 2 vers Python 3 :
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- Convertir tous les fichier Python2 vers Python 3 dans un dossier :
|
||||
|
||||
`2to3 --output-dir={{chemin/vers/dossier_python3}} --write-unchanged-files --nobackups {{chemin/vers/dossier_python2}}`
|
||||
`2to3 --output-dir {{chemin/vers/dossier_python3}} --write-unchanged-files --nobackups {{chemin/vers/dossier_python2}}`
|
||||
|
||||
- Executer 2to3 avec plusieurs fil d'exécution :
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{chemin/vers/dossier_python3}} --write --nobackups --no-diff {{chemin/vers/dossier_python2}}`
|
||||
`2to3 --processes {{4}} --output-dir {{chemin/vers/dossier_python3}} --write --nobackups --no-diff {{chemin/vers/dossier_python2}}`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Limite la recherche aux fichiers d'un certain type :
|
||||
|
||||
`ack --type={{ruby}} "{{motif_de_recherche}}"`
|
||||
`ack --type {{ruby}} "{{motif_de_recherche}}"`
|
||||
|
||||
- Exlcus un certain type de fichier de la recherche :
|
||||
|
||||
`ack --type=no{{ruby}} "{{motif_de_recherche}}"`
|
||||
`ack --type no{{ruby}} "{{motif_de_recherche}}"`
|
||||
|
||||
- Compte le nombre total de correspondances :
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Télécharge un fichier via l'url spécifié en choisissant le nom de ce dernier :
|
||||
|
||||
`aria2c --out={{nom_de_fichier}} "{{url}}"`
|
||||
`aria2c --out {{nom_de_fichier}} "{{url}}"`
|
||||
|
||||
- Télécharge plusieurs fichiers (différents) en parallèle :
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
- Télécharge avec plusieurs connections :
|
||||
|
||||
`aria2c --split={{nombre_de_connections}} "{{url}}"`
|
||||
`aria2c --split {{nombre_de_connections}} "{{url}}"`
|
||||
|
||||
- Téléchargement FTP avec nom d'utilisateur et mot de passe :
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Convertis un fichier `.adoc` vers un fichier HTML et lie une feuille de style CSS :
|
||||
|
||||
`asciidoctor -a stylesheet={{chemin/vers/feuille_de_style.css}} {{chemin/vers/fichier.adoc}}`
|
||||
`asciidoctor -a stylesheet {{chemin/vers/feuille_de_style.css}} {{chemin/vers/fichier.adoc}}`
|
||||
|
||||
- Convertis un fichier `.adoc` vers un fichier HTML embarqué, en enlevant tout sauf le body :
|
||||
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
- Convertis un fichier `.adoc` vers un PDF en utilisant la librairie `asciidoctor-pdf` :
|
||||
|
||||
`asciidoctor --backend={{pdf}} --require={{asciidoctor-pdf}} {{chemin/vers/fichier.adoc}}`
|
||||
`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{chemin/vers/fichier.adoc}}`
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
- किसी विशिष्ट पीआईडी के लिए लॉग प्रदर्शित करें:
|
||||
|
||||
`logcat --pid={{पीआईडी}}`
|
||||
`logcat --pid {{पीआईडी}}`
|
||||
|
||||
- किसी विशिष्ट पैकेज की प्रक्रिया के लिए लॉग प्रदर्शित करें:
|
||||
|
||||
`logcat --pid=$(pidof -s {{पैकेज}})`
|
||||
`logcat --pid $(pidof -s {{पैकेज}})`
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
- Tampilkan log untuk nomor induk (PID) program yang sedang dijalankan:
|
||||
|
||||
`logcat --pid={{pid}}`
|
||||
`logcat --pid {{pid}}`
|
||||
|
||||
- Tampilkan log untuk (kemasan) aplikasi yang sedang dijalankan:
|
||||
|
||||
`logcat --pid=$(pidof -s {{nama_kemasan_aplikasi}})`
|
||||
`logcat --pid $(pidof -s {{nama_kemasan_aplikasi}})`
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- Mengkonversikan fitur bahasa pemrograman Python 2 tertentu menuju Python 3:
|
||||
|
||||
`2to3 --write {{jalan/menuju/file.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{jalan/menuju/file.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- Mengkonversikan seluruh fitur Python 2 menjadi Python 3, kecuali fitur-fitur tertentu:
|
||||
|
||||
`2to3 --write {{jalan/menuju/file.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{jalan/menuju/file.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- Menampilkan daftar fitur-fitur bahasa pemrograman yang dapat dikonversikan dari Python 2 menuju Python 3:
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- Mengkonversikan seluruh file Python 2 menuju Python 3 di dalam sebuah direktori:
|
||||
|
||||
`2to3 --output-dir={{jalan/menuju/direktori_python3}} --write-unchanged-files --nobackups {{jalan/menuju/direktori_python2}}`
|
||||
`2to3 --output-dir {{jalan/menuju/direktori_python3}} --write-unchanged-files --nobackups {{jalan/menuju/direktori_python2}}`
|
||||
|
||||
- Menjalankan program ini dengan lebih dari satu thread:
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{jalan/menuju/direktori_python3}} --write --nobackups --no-diff {{jalan/menuju/direktori_python2}}`
|
||||
`2to3 --processes {{4}} --output-dir {{jalan/menuju/direktori_python3}} --write --nobackups --no-diff {{jalan/menuju/direktori_python2}}`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Hanya cari file dengan tipe tertentu (seperti `ruby` untuk mencari file `.rb`,`.erb`, `.rake`, `Rakefile` dan sebagainya):
|
||||
|
||||
`ack --type={{ruby}} "{{pola_pencarian}}"`
|
||||
`ack --type {{ruby}} "{{pola_pencarian}}"`
|
||||
|
||||
- Jangan cari file dengan tipe tertentu:
|
||||
|
||||
`ack --type=no{{ruby}} "{{pola_pencarian}}"`
|
||||
`ack --type no{{ruby}} "{{pola_pencarian}}"`
|
||||
|
||||
- Hitung total teks/string yang ditemukan:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Unduh file yang ditunjuk oleh URI yang ditentukan dengan nama keluaran yang ditentukan:
|
||||
|
||||
`aria2c --out={{nama_file}} "{{url}}"`
|
||||
`aria2c --out {{nama_file}} "{{url}}"`
|
||||
|
||||
- Unduh beberapa file (berbeda) secara paralel:
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
- Unduh dengan banyak koneksi:
|
||||
|
||||
`aria2c --split={{jumlah_koneksi}} "{{url}}"`
|
||||
`aria2c --split {{jumlah_koneksi}} "{{url}}"`
|
||||
|
||||
- Unduhan FTP dengan nama pengguna dan kata sandi:
|
||||
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Limita la ricerca ai file di un tipo specifico:
|
||||
|
||||
`ack --type={{ruby}} "{{pattern_di_ricerca}}"`
|
||||
`ack --type {{ruby}} "{{pattern_di_ricerca}}"`
|
||||
|
||||
- Non cercare nei file di un tipo specifico:
|
||||
|
||||
`ack --type=no{{ruby}} "{{pattern_di_ricerca}}"`
|
||||
`ack --type no{{ruby}} "{{pattern_di_ricerca}}"`
|
||||
|
||||
- Conta il numero totale di corrispondenze trovate:
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
- 특정 PID에 대한 로그 표시:
|
||||
|
||||
`logcat --pid={{프로세스_id}}`
|
||||
`logcat --pid {{프로세스_id}}`
|
||||
|
||||
- 특정 패키지의 프로세스에 대한 로그 표시:
|
||||
|
||||
`logcat --pid=$(pidof -s {{패키지}})`
|
||||
`logcat --pid $(pidof -s {{패키지}})`
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- 특정 파이썬 2 기능을 파이썬 3로 변경 (아래는 raw_input과 print를 수정하는 예):
|
||||
|
||||
`2to3 --write {{경로/파일.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{경로/파일.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- 특정 기능을 제외한 모든 파이썬 2 기능을 파이썬 3로 변경:
|
||||
|
||||
`2to3 --write {{경로/파일.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{경로/파일.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- 파이썬 2 에서 파이썬 3 로 변환할 수 있는 목록을 출력:
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- 디렉토리 안의 모든 파이썬 2 파일을 파이썬 3로 변경:
|
||||
|
||||
`2to3 --output-dir={{파이썬3/디렉토리/경로}} --write-unchanged-files --nobackups {{파이썬2/디렉토리/경로}}`
|
||||
`2to3 --output-dir {{파이썬3/디렉토리/경로}} --write-unchanged-files --nobackups {{파이썬2/디렉토리/경로}}`
|
||||
|
||||
- 2to3을 멀티쓰레드로 실행:
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{파이썬3/디렉토리/경로}} --write --nobackups --no-diff {{파이썬2/디렉토리/경로}}`
|
||||
`2to3 --processes {{4}} --output-dir {{파이썬3/디렉토리/경로}} --write --nobackups --no-diff {{파이썬2/디렉토리/경로}}`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- 특정 `.adoc` 파일을 HTML로 변환하고 CSS 스타일시트 연결:
|
||||
|
||||
`asciidoctor -a stylesheet={{경로/대상/스타일시트.css}} {{경로/대상/파일.adoc}}`
|
||||
`asciidoctor -a stylesheet {{경로/대상/스타일시트.css}} {{경로/대상/파일.adoc}}`
|
||||
|
||||
- 특정 `.adoc` 파일을 포함 가능한 HTML로 변환하고, 본문을 제외한 모든 항목을 제거:
|
||||
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
- `asciidoctor-pdf` 라이브러리를 사용하여 특정 `.adoc` 파일을 PDF로 변환:
|
||||
|
||||
`asciidoctor --backend={{pdf}} --require={{asciidoctor-pdf}} {{경로/대상/파일.adoc}}`
|
||||
`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{경로/대상/파일.adoc}}`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Begrens søket til filer av en bestemt type:
|
||||
|
||||
`ack --type={{ruby}} "{{søkemønster}}"`
|
||||
`ack --type {{ruby}} "{{søkemønster}}"`
|
||||
|
||||
- Ikke søk i filer av en bestemt type:
|
||||
|
||||
`ack --type=no{{ruby}} "{{søkemønster}}"`
|
||||
`ack --type no{{ruby}} "{{søkemønster}}"`
|
||||
|
||||
- Tell totalt antall treff funnet:
|
||||
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Ogranicz wyszukiwanie do plików wyłącznie określonego typu:
|
||||
|
||||
`ack --type={{ruby}} "{{wzorzec}}"`
|
||||
`ack --type {{ruby}} "{{wzorzec}}"`
|
||||
|
||||
- Wyszukaj z pominięciem plików określonego typu:
|
||||
|
||||
`ack --type=no{{ruby}} "{{wzorzec}}"`
|
||||
`ack --type no{{ruby}} "{{wzorzec}}"`
|
||||
|
||||
- Policz całkowitą liczbę dopasowań:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Imprime um intervalo de campos de cada linha com um delimitador específico:
|
||||
|
||||
`{{comando}} | cut --delimiter="{{,}}" --fields {{1}}`
|
||||
`{{comando}} | cut --delimiter "{{,}}" --fields {{1}}`
|
||||
|
||||
- Imprime um intervalo de caracteres de cada linha de um arquivo específico:
|
||||
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Ограничить поиск только файлами определённого типа:
|
||||
|
||||
`ack --type={{ruby}} "{{шаблон_поиска}}"`
|
||||
`ack --type {{ruby}} "{{шаблон_поиска}}"`
|
||||
|
||||
- Не искать в файлах определённого типа:
|
||||
|
||||
`ack --type=no{{ruby}} "{{шаблон_поиска}}"`
|
||||
`ack --type no{{ruby}} "{{шаблон_поиска}}"`
|
||||
|
||||
- Подсчитать общее количество найденных совпадений:
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Преобразовать данный `.adoc` файл в HTML и привязать к таблице стилей CSS:
|
||||
|
||||
`asciidoctor -a stylesheet={{путь/до/таблицы-стилей.css}} {{путь/до/файла.adoc}}`
|
||||
`asciidoctor -a stylesheet {{путь/до/таблицы-стилей.css}} {{путь/до/файла.adoc}}`
|
||||
|
||||
- Преобразовать данный `.adoc` файл во встраиваемый HTML, убрав всё кроме самого текста:
|
||||
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
- Преобразовать данный `.adoc` файл в PDF с помощью библиотеки `asciidoctor-pdf`:
|
||||
|
||||
`asciidoctor --backend={{pdf}} --require={{asciidoctor-pdf}} {{путь/до/файла.adoc}}`
|
||||
`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{путь/до/файла.adoc}}`
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
> Вырезать поля из стандартного ввода или файлов.
|
||||
> Больше информации: <https://www.gnu.org/software/coreutils/cut>.
|
||||
|
||||
- Вывести указанный диапазон символов/полей каждой строки (`--characters|fields=1|1,10|1-10|1-|-10` далее обозначается как `диапазон`):
|
||||
- Вывести указанный диапазон символов/полей каждой строки (`--characters|fields 1|1,10|1-10|1-|-10` далее обозначается как `диапазон`):
|
||||
|
||||
`{{команда}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}`
|
||||
|
||||
- Вывести диапазон полей каждой строки с указанным разделителем:
|
||||
|
||||
`{{команда}} | cut --delimiter="{{,}}" --fields {{1}}`
|
||||
`{{команда}} | cut --delimiter "{{,}}" --fields {{1}}`
|
||||
|
||||
- Вывести диапазон символов каждой строки указанного файла:
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
- ஒரு குறிப்பிட்ட PIDக்கான பதிவுகளை காண்பி:
|
||||
|
||||
`logcat --pid={{pid}}`
|
||||
`logcat --pid {{pid}}`
|
||||
|
||||
- ஒரு குறிப்பிட்ட தொகுப்பின் செயல்முறைக்கான பதிவுகளை காண்பி:
|
||||
|
||||
`logcat --pid=$(pidof -s {{package}})`
|
||||
`logcat --pid $(pidof -s {{package}})`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- ஒரு குறிப்பிட்ட வகை கோப்புகளுக்கான தேடலை வரம்பிடவும்:
|
||||
|
||||
`ack --type={{ruby}} "{{தேடல்_முறை}}"`
|
||||
`ack --type {{ruby}} "{{தேடல்_முறை}}"`
|
||||
|
||||
- ஒரு குறிப்பிட்ட வகை கோப்புகளில் தேட வேண்டாம்:
|
||||
|
||||
`ack --type=no{{ruby}} "{{தேடல்_முறை}}"`
|
||||
`ack --type no{{ruby}} "{{தேடல்_முறை}}"`
|
||||
|
||||
- காணப்பட்ட மொத்த பொருத்தங்களின் எண்ணிக்கையை எண்ணுங்கள்:
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
- Вивести логи для специфічного процесу (PID):
|
||||
|
||||
`logcat --pid={{pid}}`
|
||||
`logcat --pid {{pid}}`
|
||||
|
||||
- Вивести логи для процесу специфічного пакету:
|
||||
|
||||
`logcat --pid=$(pidof -s {{пакет}})`
|
||||
`logcat --pid $(pidof -s {{пакет}})`
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- 将 Python 2 语言特性转化为 Python 3:
|
||||
|
||||
`2to3 --write {{文件.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{文件.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- 除了某个语言特性外将所有其他的 Python 2 语言特性转化为 Python 3:
|
||||
|
||||
`2to3 --write {{文件.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{文件.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- 列出 Python 2 所有可转化为 Python 3 的语言特性:
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- 将某一文件夹的所有 Python 2 文件转化为 Python 3:
|
||||
|
||||
`2to3 --output-dir={{Python 3 文件夹}} --write-unchanged-files --nobackups {{Python 2 文件夹}}`
|
||||
`2to3 --output-dir {{Python 3 文件夹}} --write-unchanged-files --nobackups {{Python 2 文件夹}}`
|
||||
|
||||
- 使用多线程运行 2to3:
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{Python 3 文件夹}} --write --nobackups --no-diff {{Python 2 文件夹}}`
|
||||
`2to3 --processes {{4}} --output-dir {{Python 3 文件夹}} --write --nobackups --no-diff {{Python 2 文件夹}}`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- 限制搜索特定类型的文件:
|
||||
|
||||
`ack --type={{ruby}} "{{search_pattern}}"`
|
||||
`ack --type {{ruby}} "{{search_pattern}}"`
|
||||
|
||||
- 不在特定类型的文件中搜索:
|
||||
|
||||
`ack --type=no{{ruby}} "{{search_pattern}}"`
|
||||
`ack --type no{{ruby}} "{{search_pattern}}"`
|
||||
|
||||
- 计算找到的匹配文件的总数:
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
- Download the same file from different mirrors and verify the checksum of the downloaded file:
|
||||
|
||||
`aria2c --checksum={{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"`
|
||||
`aria2c --checksum {{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"`
|
||||
|
||||
- Download the URIs listed in a file with a specific number of parallel downloads:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue