Created
September 2, 2023 05:29
-
-
Save Tekunogosu/b5a21e8bc3395bdc81c4b0ec1a00362a to your computer and use it in GitHub Desktop.
vim regex for gentoo kernel modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/lib/modules/6.5.0-gentoo-nox/kernel/virt/lib/irqbypass.ko | |
:%s/.*\/\([^/]\+\)\.k\{,1\}o\?$/\1/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment