home/categories/scripting/ecnu-icalk-autoskill-skillbank-convskill-english-gpt3-5-8-python-one-liner-for-extracting-preceding-folder-in-unix-path-skill-md
scriptingdevelopment

python-one-liner-for-extracting-preceding-folder-in-unix-path

Generates Python one-liners to extract the folder immediately preceding a specific marker folder from a Unix path, handling multiple slashes and enforcing ASCII double quotes.

ECNU-ICALK
maintainer
ECNU-ICALK
آخر تحديث 3/16/2026
النجوم
304
التفرعات
34
quick start

Installation and usage

Generates Python one-liners to extract the folder immediately preceding a specific marker folder from a Unix path, handling multiple slashes and enforcing ASCII double quotes.

التثبيت
$ install --globalskills.sh
الاستخدام

بعد التثبيت، يمكنك استخدام هذه المهارة بتشغيل الأمر التالي في الطرفية:

skills use python-one-liner-for-extracting-preceding-folder-in-unix-path