Community
    • Login

    All the off-topic go here

    Scheduled Pinned Locked Moved Boycott Notepad++
    4 Posts 3 Posters 5.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • donhoD
      donho
      last edited by

      As title.

      1 Reply Last reply Reply Quote 3
      • donhoD donho pinned this topic on
      • guy038G
        guy038
        last edited by guy038

        Hello, @jim-dailey and All,

        Jim, you said :

        Anyone who writes code would be well-served by at least a cursory familiarity with some version of AWK.

        I completely agree with this statement :-))


        BTW, The parentheses to surround the part FNR,$0 are not mandatory, at least with gawk v4.0.2. So :

        awk "{print FNR,$0}" snip.txt > nsnip.txt
        

        This version does NOT need any associated DLL and is ridiculously small : 156,174 bytes, although really very powerful !

        Best Regards,

        guy038

        P.S. :

        I used with an INPUT file of size 73,519 Ko, containing 444,810 lines with an average number of chars of 150 per line.

        And guess what : the OUTPUT file was created in 4,1 s, on my very old Win XP machine !

        Jim DaileyJ 1 Reply Last reply Reply Quote 0
        • Alan KilbornA Alan Kilborn referenced this topic on
        • Jim DaileyJ
          Jim Dailey @guy038
          last edited by

          Hello to you, @guy038. You said

          BTW, The parentheses to surround the part FNR,$0 are not mandatory, at least with gawk v4.0.2.

          You are correct, but I can’t bring myself not to use parenthesis with print() and printf(). But that’s just the start of my “non-standard” AWK behaviors. As an example, any substantial script I write will start thusly:

          BEGIN {exit}
          

          How’s that for non-standard?! :-)

          1 Reply Last reply Reply Quote 2
          • guy038G
            guy038
            last edited by guy038

            Hello, All,

            Like most of you still using Windows 10, I decided to migrate to Windows 11, at the end of october, because my computer was compatible ( BIOS with UEFI boot, TPM module and DirectX 12 )

            I eagerly awaited the November 11, 2025 update, which should have brought us a new Start Menu, correcting some of the current limitations However, no such update occured, so far, on my laptop :-((

            Of course, I know that I could use the GitHub tool, named ViveTool.exe. After downloading and extracting the last release https://github.com/thebookisclosed/ViVe/releases/tag/v0.3.4, I would have run, in an Administrator Commmand Prompt window, the command vivetool /enable /id:47205210 to get the new Start Menu, after a complete restart. Moreover, this action seems safe as we can revert back to our present Start Menu with the command vivetool /reset /id:47205210

            Ultimately, I prefer to wait for the usual Windows 11 staged roll-out to work in my favor !

            But, if you’re interested to test it, read, first, this recent article

            In this other article

            it is also said :

            ViVeTool is an open-source tool to unlock hidden features in Windows. It directly interacts with Windows Feature Management, which is the A/B testing system Microsoft uses. ViVeTool calls the official APIs and doesn’t hack or modify Windows files, so it’s mostly safe to use as long as you use it with correct variables.


            So, in the meanwhile, I tried to get used to the main aspects of Windows 11, which doesn’t change, fundamentally, my workflow ! Among other things, I updated my Win 10 list of shortcuts related to the Windows key and, little by little, I included, in that list, a lot of other shortcuts related to main applications of the Microsoft world.

            Here is the outline of this list, related to Windows 11 shortcuts :

              1. Shortcuts about the Windows and Office keys
              1. Shortcuts about Desktops and Taskbar
              1. Shortcuts about Text editing and Dialog boxes
              1. Shortcuts about Accessibility and the Magnifier feature
              1. Shortcuts about main applications (File Explorer, Terminal and DOS prompts, Microsoft Edge)
              1. Shortcuts about various applications (Google Maps, Settings, Xbox Game, Calculator, Sticky Notes)
              1. Shortcuts about audio / video applications (Movies & TV, Media Player, Photos, Sound Recorder)
              1. Shortcuts about drawing applications (Paint, Paint 3D)
              1. Shortcuts about basic text editors (Wordpad, Notepad)

            You can get this list, named W11_Shortcuts.txt, from my Drive account :

            https://drive.google.com/file/d/1Wt03527NLrg-bNfKFK1x_0QqdxnSB4PU/view?usp=sharing


            Notes :

            • These shortcuts are those used with a standard American / English keyboard. As I’m French, I noted some variations with my French keyboard ! Thus, for any other language, some shortcuts may be different and not very easy to find out !

            • Google Chrome’s shortcuts are not described in this list as I simply use the native Edge browser of Microsoft

            • Moreover, all Microsoft 365 applications are not listed, so far !

            IMPORTANT :

            • Some Microsoft UWP applications (Media Player, Paint, Paint 3D, Sound Recorder, Wordpad, Notepad) have additionnal shortcuts based on the Alt key, and generally tied to each user language. To show all of them, open these applications and simply hit the Alt key. You may, also, open any menu and hit the Alt key to get some new Alt available shortcuts. As they generally depend on each user language, these specific shortcuts are mostly not included in this list !

            Now, all these shortcuts consist of one or more keys from the list below :

            • The Windows key, on the left side of the main keyboard

            • The Office key, on the right side of the main keyboard

            • One of the two Control keys, on both sides of the main keyboard : Ctrl

            • One of the two Shift keys, on both sides of the main keyboard : Shift

            • The Alternate key , on the left side of the main keyboard : Alt

            • The Letter keys : Any upper-case letter, for example C

            • The Symbol keys : Any symbol surrounded with parentheses, for example (+)

            Remarks :

            • Some shortcuts are specific to the main keyboard => indication (Main)

            • Some shortcuts are specific to the numeric keypad => indication (Numpad)

            Of course, if any shortcut have been left out of this list, please, let me know ! On the other hand, feel free to ask me about shortcuts that seem still unclear to you !

            I personally did not understand 9 shortcuts, which are identified, in this list, with the ??? mark, right after the shortcut !

            Best Regards,

            guy038

            P.S. :

            Do not forget to only reply within this off-topic thread !

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors