mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-03 21:25:34 +00:00
When using irssi+tmux, only last line of text will update. #18157
Closed
opened 2026-01-31 06:05:20 +00:00 by claunia
·
19 comments
No Branch/Tag Specified
main
dev/cazamor/bugfix/window-root-memory-leak
dev/lhecker/11509-kitty-keyboard-protocol-wip
automated/loc-update
feature/llm
dev/pabhoj/actions_editor_visual
dev/cazamor/selfhost/2026-01-29
dev/lhecker/11509-kitty-keyboard-protocol
dev/cazamor/sui/search
dev/duhowett/no-blank-issues-you-lost-privileges-for-that-fam
dev/lhecker/benchcat-fix
dev/lhecker/dcs-perf
dev/duhowett/eoy-25/allow-set-foreground
release-1.24
release-1.23
dev/cazamor/bot/deprecate-area-atlasengine
dev/pabhoj/actions_editor_followups
dev/cazamor/selfhost/2026-01-20
dev/cazamor/selfhost/2026-01-12
dev/cazamor/spec/auto-save
dev/duhowett/eoy-25/underline-colors-in-atlas-bug-redux
dev/duhowett/fhl-2024/asciicast-recorder
dev/duhowett/eoy-25/underline-colors-in-atlas-bug
dev/duhowett/hax/serial-port-support
dev/duhowett/connection-utf8
dev/lhecker/fused-event
dev/lhecker/18928-wip
dev/duhowett/fhl-2024/clang
dev/cazamor/uia-leak
dev/duhowett/win7-wpf-termcontrol-squash
release-1.22
dev/cazamor/selfhost/11-18-v3
dev/cazamor/selfhost/11-18
dev/duhowett/fhl-2025/bitmap-fonts
dev/duhowett/server-2025-vms
dev/duhowett/cant-believe-gotta-do-this-shit
dev/lhecker/1410-large-scrollback
dev/lhecker/dark-mode
dev/cazamor/sui/invert-cursor-color
dev/duhowett/fhl-2025/wt-command-palette-cmdpal-integration
dev/duhowett/fhl-2025/wt-json-relative-icons
dev/lhecker/fucking-service-locator
dev/duhowett/unicode-17
dev/duhowett/multi-blern
dev/lhecker/wellp2-alt
dev/duhowett/wellp2
dev/lhecker/1860-horizontal-scrollbar
dev/lhecker/fix-window-count
dev/cazamor/sui/tab-color-old
dev/duhowett/hax/conhost-icon
dev/duhowett/hax/sui-color-chip-border
dev/duhowett/hax/terminalsettings-as-a-lib-/with-types-merged-into-tsm
dev/pabhoj/page_control_input_cleanup
dev/duhowett/padding-in-atlas-rebase-20250729
dev/lhecker/attach-thread-input
dev/duhowett/portable-shader-members
msbuildcache-reenable
dev/cazamor/selfhost/1.24-2025-06-10
dev/cazamor/upgrade-settings-containers
dev/cazamor/sui/ext-page/powershell-stub
dev/cazamor/selfhost/1.24-2025-05-15
dev/pabhoj/sui_action_overhaul
dev/cazamor/selfhost/1.24-2025-05-06
dev/cazamor/selfhost/1.24-2025-04-29
dev/cazamor/sui/ext-page/lazy-load-objects
dev/cazamor/sui/ext-page/badge
dev/cazamor/selfhost/1.24
dev/lhecker/sdk-26100
dev/duhowett/testing
dev/jadelaga/VS-Pty.Net-1.22
dev/duhowett/fhl-2025/what-if-no-content-ids
dev/cazamor/a11y/vt-seq-prototype
dev/lhecker/18584-part2
dev/lhecker/get-lang-id
dev/duhowett/hax/clogs
release-1.21
dev/pabhoj/featurellm_fix_paste
dev/lhecker/grapheme-backup
dev/jadelaga/VS-Pty.netFixes
dev/lhecker/atlas-engine-compute-shader
dev/migrie/s/ai-providers
dev/lhecker/animated-cursor-wip
dev/pabhoj/featurellm_timeout
dev/lhecker/dark-mode-alt
dev/duhowett/osc-strided-table
dev/lhecker/bugbash
dev/pabhoj/featurellm_improve_parsing
dev/duhowett/coast-to-coast
dev/lhecker/curly-improvements
dev/duhowett/net8
dev/duhowett/onebranch-custom-pool
dev/lhecker/renderer-overhaul-2nd-attempt
dev/lhecker/cleanup
dev/cazamor/sui/confirmation-announcements
dev/lhecker/theme-quality
dev/duhowett/hax/cmake
dev/lhecker/winconpty-cleanup
dev/duhowett/learn/rewrite-highlights
dev/migrie/b/no-nesting-when-searching
release-1.20
dev/lhecker/14165-conhost-font-size
dev/duhowett/sel-2-spans
dev/lhecker/7118-cursor-color
dev/lhecker/remove-glyph-width
dev/lhecker/igfw-scroll-region
dev/lhecker/17656-win32im-double-encoding
dev/duhowett/fhl-2024/merge-idls
dev/duhowett/feed-forward-variables
dev/lhecker/remove-chrome-math
dev/duhowett/copylink
dev/duhowett/applicableactions
gh-readonly-queue/main/pr-17566-de50310295b7d92ed3d51f07974a2a945776bf9d
dev/lhecker/atlas-engine-stride-copy
dev/migrie/b/bump-nuget-in-c
dev/migrie/f/992-redux-redux
dev/migrie/f/filter-weight-input-too
dev/migrie/f/disable-nesting
dev/migrie/f/local-snippets-cleaner
dev/migrie/s/1553-mouse-bindings
selfhost-1.22-bugbash-2024-06-04
selfhost/1.22-bugbash-2024-06-04
dev/lhecker/15689-tab-drag-crash-fix
dev/migrie/f/sxnui-font-size-change
dev/migrie/f/local-snippets-on-action-refactor
dev/migrie/f/just-local-snippets
dev/migrie/save-input-patches
dev/migrie/f/md-pane-official
dev/migrie/base-pane
dev/migrie/fhl/tasks-pane
release-1.19
dev/migrie/b/17130-clear-marks-2
dev/migrie/b/17075-its-me-the-killer
dev/duhowett/i-figured-out-why-sometimes-the-publish-build-failed
dev/duhowett/nuget-publication-with-aad-app-id
selfhost-1.20
dev/duhowett/graph
dev/migrie/b/15803-activate-dont-copypasta
dev/duhowett/is-pgo-broken-because-of-sui-being-slower
dev/migrie/b/remove-terminaltab
dev/migrie/fhl/md-pane
dev/migrie/fhl/local-tasks-2024
dev/migrie/fhl/2024-inline-notebook
dev/duhowett/interface-projects
dev/duhowett/dead-loc
release-1.18
dev/migrie/fhl/2024-spring-merge-base
dev/duhowett/hax/l9
inbox
dev/migrie/14073-on-main
dev/duhowett/hax/conhost_dump_replay
user/lhecker/atlas-engine-srgb
dev/migrie/fhl/sxnui-tooltips-3
dev/migrie/7718-notifications-experiments
dev/migrie/fhl/7718-notifications
dev/migrie/fhl/7718-notifications-reboot
dev/lhecker/remove-gsl
dev/lhecker/16575-TerminateProcess
dev/lhecker/window-thread-climate-control
dev/lhecker/client-context-input-output-mode
dev/lhecker/ring-buffer-input-buffer
release-1.17
dev/lhecker/propsheet-fontdlg-refactor
dev/lhecker/renderer-overhaul
dev/pabhoj/test
dev/duhowett/chop
dev/lhecker/til-ulong-cleanup
dev/lhecker/til-env-cleanup
dev/migrie/f/16005-a11y-pane
dev/cazamor/a11y/fastpass
dev/migrie/b/15487-push-cwd
dev/migrie/b/15536-or-15219-idk
dev/duhowett/move-timers-down-into-core-interactivity-etc
dev/migrie/b/15812-broadcast-paste-two
dev/migrie/fhl-fall-2023/11162-quake-III-arena
dev/migrie/fhl-fall-2023/1620-automatic-tab-progress
dev/migrie/fhl-fall-2023/9992-quake-II
dev/migrie/fhl-fall-2023/9992-default-quake-settings
dev/migrie/fhl-fall-2023/9992-window-name-settings
dev/migrie/fhl-fall-2023/oceans
dev/lhecker/ColorScheme-improvements
dev/migrie/search-v2-v3
dev/migrie/pr-15717/its-dangerous-to-go-alone
dev/migrie/f/4768-taskbar-icons
dev/duhowett/padding-in-atlas
dev/migrie/f/3121-tooltips
dev/duhowett/sticky-control
dev/duhowett/fix-tracing-2
dev/migrie/b/add-support-for-vsc-marks
dev/migrie/f/1860-this-is-literally-what-less-is-for
dev/migrie/s/5916-draft
dev/lhecker/tracy
dev/migrie/s/north-star
dev/cazamor/tag-youre-it
dev/migrie/f/12336-let-it-mellow
dev/migrie/f/now-with-more-compat-settings
dev/migrie/f/compatibility-sui
dev/duhowett/hax/wpf-atlas
dev/duhowett/fgb
dev/migrie/b/15487-relative-paths-are-hard
dev/lhecker/colrv1
loc-update
dev/migrie/fhl/dyndep-csharp
dev/migrie/fhl/dyndep
dev/migrie/fhl-clickable-send-input
dev/migrie/f/cwd-hijinks-5506-15173
dev/lhecker/openconsole-async-start
1.17
dev/migrie/bump-scratch
dev/migrie/f/3726-restartConnection
dev/migrie/b/cxn-restarting-attempt-1-backport
dev/migrie/b/9053-part-3-the-actual-doing-of-the-thing
dev/migrie/b/13388-focus-logger
dev/migrie/b/9053-part-4-i-guess-defterm
dev/migrie/oop/3/of-the-silmarils
of-the-darkening-of-valinor
dev/migrie/fhl/notebook-proto-000
dev/migrie/f/narrator-buddy
dev/migrie/mux-2.8.2-march-2023
dev/migrie/f/roast-mutton
dev/migrie/f/12861-preview-input
dev/lhecker/clang-tidy
dev/migrie/f/3121-wE-dOnT-hAvE-dEv-DaYs
dev/duhowett/compiler-compliance
dev/duhowett/i-have-a-burning-hatred-for-ntstatus-of-later-so-why-not-fix-it
dev/duhowett/shorthand-namespaces
dev/duhowett/rename-all-dlls
dev/duhowett/errordialog
dev/lhecker/gsl-narrow
dev/migrie/b/11522-dumb-idea
release-1.16
dev/miniksa/env
dev/duhowett/hax/embed-everything
dev/migrie/b/13388-attempt-003
dev/migrie/b/14512-test-research
dev/migrie/b/13388-attempt-002
dev/migrie/b/14464-copyOnSelect-moving-text
dev/migrie/s/thema-schema-for-1.16
dev/migrie/s/theme-pair-schema
dev/migrie/b/13388-experiments-1
dev/cazamor/spec/a11y-vt-seq
dev/migrie/b/14557-empty-folder-dropdown
dev/cazamor/spec/a11y-vt-seq-v2
release-1.15
dev/migrie/f/process-model-v3-test-0
dev/lhecker/vsconfig
dev/migrie/s/5000-presentation
dev/lhecker/5907-startup-perf
dev/lhecker/winrt-file-api-benchmark
dev/duhowett/128-bit-compiler
dev/duhowett/hax/arm64-native-build
dev/migrie/fhl/more-shell-integration
dev/migrie/b/13388-experiments-0
dev/lhecker/til-to-ulong-improvements
dev/migrie/s/markdown-notebooks
dev/cazamor/a11y/nav-by-page
dev/cazamor/a11y/system-menu-support
dev/duhowett/no-private-registry-keys
dev/cazamor/wpf/uia-expose-enable-events
dev/cazamor/wpf/uia-events
extendAISpec
dev/migrie/fhl/clickSendInput
dev/migrie/fhl/save-command
dev/migrie/b/theme.profile
dev/migrie/b/13943-a-test-for-this
dev/migrie/oop/2/endgame
dev/duhowett/hax/merge_idl
dev/migrie/oop/2/infinity-war
dev/migrie/spellbot-cve
dev/cazamor/a11y-sev3/new-profile-announcement
dev/migrie/fhl/upside-down-mode
release-1.14
dev/migrie/f/9458-startupInfoToTerminal
dev/migrie/fhl/5916-triggers
dev/migrie/b/13523-context-menu
dev/migrie/b/6523-endpaint-outside-lock
dev/migrie/b/12413-OnUnhandledException
dev/lhecker/render-snapshot
dev/cazamor/1.15/scroll-to-point
dev/migrie/mux-2.8-aug-2022
dev/lhecker/lock-console-guard
dev/migrie/f/1504-final
dev/pabhoj/sui_follow_ups
dev/migrie/f/til-winrt.h
dev/cazamor/color-picker-redesign
dev/migrie/fhl/vscode-autocomplete-prototype
dev/migrie/f/1504-prototype
dev/migrie/oop/2/loki
dev/migrie/oop/2/wandavision
dev/migrie/b/8698-YOURE-OUT-OF-ORDER
fabricbot-configuration-migration
dev/migrie/b/12788-did-it-work
dev/migrie/b/localtests-ci-2022
dev/cazamor/1.14/replace-compareInBounds
dev/pabhoj/preview_string
dev/cazamor/ks/switchSelectionEndpoint
dev/migrie/oop/2/COM-ISwapChainProvider-attempt-1
dev/migrie/b/dxd-marker
release-1.13
dev/migrie/b/13066-for-defterm
dev/cazamor/revert-dwm
dev/migrie/b/13066-sw_flash_repeatedly
dev/migrie/b/no-cloaky-cloak
dev/migrie/f/apples-to-oranges
dev/migrie/f/no-custom-caption-btns
dev/migrie/f/10509-mica-and-transparent-titlebars
dev/migrie/b/12911-wpf-focus-fg
dev/migrie/titebar-colors
dev/lhecker/4015-cursor
dev/migrie/fhl/rgb-rainbow-window-frame
dev/migrie/fhl/scroll-marks-prototype
release-1.12
dev/miniksa/compliance
dev/migrie/f/default-icons
dev/migrie/fhl/10175-web-search-for-text
dev/migrie/fhl/menu-complete-prototype
dev/migrie/b/2988-merged-prototypes
dev/migrie/b/2988-niksa-msgs-prototype
dev/migrie/fhl/9583-colorSelection
dev/migrie/b/10609-sui-leak
dev/migrie/b/32-attempt-3
dev/migrie/release-1.12-rejuv-attempt-2
dev/migrie/demo-for-presentation
dev/migrie/b/32-but-im-here-for-12567
dev/duhowett/conpty_first_frame_blug
dev/migrie/b/11092-unfocused-acrylic-settings
dev/migrie/localtests-in-ci
dev/migrie/b/12356-attempt-2
dev/migrie/b/12353-with-null
dev/migrie/b/12387-trim-spaces
dev/migrie/b/5033-bad-start
dev/lhecker/12351-broken-locales
dev/migrie/b/8663-input-to-oem-crash
dev/migrie/b/11743-win10-opacity-is-hard
dev/migrie/f/ctrl-click-elevate
dev/migrie/b/12196-shim-localization
dev/lhecker/issue-4015-til-rect
dev/cazamor/eim/mvvm
dev/migrie/f/--elevate
dev/migrie/b/11668-i-think
dev/migrie/b/11994-wsl-mangline
dev/migrie/eim/3475-action-xmacros
dev/migrie/eim/incremental-build-000
dev/cazamor/a11y/fake-uia-data
dev/migrie/f/non-terminal-content-elevation-warning
dev/migrie/f/632-on-warning-dialog
dev/lhecker/rgba
dev/migrie/b/8480-keybindings-in-tabs
release-1.11
dev/migrie/b/11561-dead-ends
dev/migrie/oct-21-roadmap-update
dev/migrie/fhl/adaptive-card-extension
dev/cazamor/test/11440
dev/migrie/f/warning-dlg-automation
dev/migrie/b/1.12-crash-on-exit
dev/migrie/b/11146-next-tab-in-cmdpal
release-1.10
dev/migrie/5ff9a24-and-75e2b5f
dev/duhowtt/hax/cpal-jumplist-async
dev/lelian/actionid/1
dev/migrie/f/just-elevated-state
dev/lhecker/terminal-settings-cleanup
dev/migrie/gh-10824
dev/pabhoj/cursor_light
dev/migrie/oop/wandavision
dev/migrie/oop/endgame
dev/migrie/oop/infinity-war
dev/lhecker/app-state-actually-hidden
dev/migrie/b/6160-dynamic-default-warning
dev/mgirie/b/more-nchhittest-ideas
dev/migrie/b/9320-interfacial-separation
cinnamon/fhl/find-contextmenu
dev/lhecker/wsl-distro-generator-cleanup
dev/migrie/b/10875-but-more-clever
dev/migrie/b/broken-globalsummon-overloading
dev/duhowett/hax/rle-row
dev/migrie/fhl-2021/cmdpal-select-list
dev/migrie/fhl-2021/differential-pixel-shading
dev/duhowett/hax/no-writable-glyphat
dev/migrie/fhl-2021/more-shader-variables
dev/migrie/titlebar-shenannigans
dev/miniksa/win10_font_matching
dev/lhecker/conhost-oom
dev/migrie/b/10332-less-snappy-scrolling
dev/migrie/b/7422-1px-top-border
release-1.9
dev/cazamor/move-scratch
release-1.8
dev/miniksa/manifest_2
release-1.6
release-1.7
dev/migrie/oop/the-whole-thing
dev/migrie/oop/connection-factory
dev/migrie/f/quake-dropdown-2
dev/miniksa/rle2
dev/migrie/f/quake-toCurrent-experiments-2
dev/migrie/f/quake-toCurrent-experiments
dev/migrie/f/quake-dropdown
dev/cazamor/actions-page/template
dev/duhowett/hax/cursor_stamp_foreground_background
dev/migrie/f/1860-hey-might-was-well-hack-during-a-hackathon
dev/migrie/oop-terminal.control-split-control
dev/duhowett/hax/build-with-wholearchive
dev/cazamor/spec/tsm-actions-temp
dev/migrie/oop-tear-apart-control
dev/migrie/oop-scratch-3
dev/cazamor/sui/bugfix-reload-crash
dev/migrie/f/xmacro
dev/cazamor/sui/proto/profile-nav-view
dev/migrie/f/name-windows
dev/migrie/dol/messing-with-shaders-take-1
release-1.5
dev/cazamor/sui/inheritance-hyperlinks-test
dev/migrie/r/commandline-lib-002
dev/migrie/f/com.fabrikam.toaster
dev/cazamor/adaptive-cards-prototype
dev/migrie/f/commandline-lib
dev/miniksa/zipzoom2
dev/migrie/f/remote-commandlines
dev/migrie/f/632-elevated-profiles
dev/migrie/oop-broker-000
dev/migrie/fix-pr-7015
dev/duhowett/clang
dev/miniksa/input_tests_2
dev/miniksa/input2
dev/migrie/oop-rpc-000
release-1.4
dev/migrie/oop-mixed-elevation-1
dev/migrie/oop-window-content-1
cinnamon/open-json
dev/miniksa/input_tests
dev/duhowett/hax/tsm-graphviz
dev/miniksa/input
dev/duhowett/hax/caption_buttons
release-1.3
dev/cazamor/a11y/expand-line-under-viewport
dev/cazamor/acc/ch/word-nav-perf
dev/cazamor/spec/settings-ui-architecture-draft
dev/duhowett/hax/tap_upgrade
dev/migrie/f/pane-exit-animation
release-1.2
dev/migrie/move-lib-up-and-dll-down
release-1.1
dev/migrie/f/branch-2-backup
dev/migrie/f/settings-getters-only
dev/duhowett/hax/command_palette_search
dev/migrie/f/6856-let-terminalpage-expandcommands
dev/migrie/f/theming-2020
dev/migrie/oop-scratch-4
dev/duhowett/hax/punchout
dev/migrie/s/action-ids
dev/migrie/f/lets-just-generate-these
dev/migrie/oop-scratch-2
dev/miniksa/dcomp
dev/miniksa/gotta_go_fast_spsc
dev/miniksa/gotta_go_fast
dev/miniksa/perf_skip_checks
dev/miniksa/perf_buffer_dig
dev/migrie/s/1203-cursorTextColor
dev/migrie/f/fix-intellisense-i-guess-backup
release-1.0
dev/migrie/f/execute-commandlines
dev/migrie/f/2046-Command-Palette-v2
dev/migrie/b/6421-passthrough-alt
dev/migrie/b/moving-focus-is-hard
dev/miniksa/set
dev/migrie/f/1203-phase-1
dev/migrie/f/get-localtests-in-ci
dev/cazamor/drag-panes
dev/cazamor/tile-background
release-0.11
dev/duhowett/dev/duhowett/hax/appstate_remember
dev/duhowett/load_condrv
dev/duhowett/hax/wpf_win_8_hax
dev/migrie/b/3088-weird-exact-wrap-resize
release-0.10
dev/migrie/b/4591-custom-scaling-bug
dev/duhowett/hax/attr_smuggling
dev/migrie/b/5161-mingw-vim-fix
dev/miniksa/dx_bitmap
dev/migrie/b/1503-try-messing-with-cooked-read
dev/duhowett/eyebeam
dev/migrie/b/5113-experiments
dev/duhowett/hax-selection-exclusive
dev/migrie/f/more-vt-renderer-tracing
dev/miniksa/bitmap
dev/duhowett/wprp
dev/miniksa/bitmap-mad-with-power
dev/migrie/f/resize-quirk
dev/migrie/f/reflow-buffer-on-resize-002
wpf-renderer-revert
dev/miniksa/draw
release-0.9
dev/miniksa/tabs-color-fix
dev/miniksa/4309
dev/migrie/f/just-wrapping
dev/migrie/b/3490-try-another-resize-algo
release-0.8
dev/migrie/b/3490-a-simpler-resize
dev/migrie/b/3490-resize-down
dev/miniksa/4254
dev/migrie/f/conpty-wrapped-lines-2
dev/migrie/b/be-better-at-hiding
dev/migrie/f/3327-xaml-theming-proto
dev/miniksa/gardening2
release-0.7
dev/duhowett/conpty-flags
dev/migrie/f/603-vintage-opacity
dev/migrie/PR#3181-comments
dev/duhowett/font-64
release-0.5
dev/migrie/b/663-paste-lf-always
dev/migrie/b/2011-reordered-fallthrough-strings
dev/migrie/b/411-init-tab-stops
dev/migrie/b/json-patching-is-hard
dev/migrie/b/2455-try-getting-tests-working
dev/migrie/b/1223-change-256-table
dev/migrie/f/2171-openterm.cmd
dev/migrie/f/drag-panes
dev/migrie/f/2046-command-palette
release-0.3
dev/miniksa/manager
dev/migrie/f/non-terminal-panes
dev/migrie/f/passthrough-2019
dev/miniksa/shared_pch
dev/migrie/f/1897-less-duplicated-work
release-0.2
dev/cazamor/mcs/viewport-selection
dev/duhowett/version_hack
v1.24.10212.0
v1.23.20211.0
v1.24.3504.0
v1.23.13503.0
v1.24.2812.0
v1.23.12811.0
v1.24.2682.0
v1.23.12681.0
v1.24.2372.0
v1.23.12371.0
v1.23.12102.0
v1.22.12111.0
v1.23.11752.0
v1.22.11751.0
v1.22.11141.0
v1.23.11132.0
v1.23.10732.0
v1.22.10731.0
v1.21.10351.0
v1.22.10352.0
v1.23.10353.0
v1.22.3232.0
v1.21.3231.0
v1.22.2912.0
v1.21.2911.0
v1.22.2702.0
v1.21.2701.0
v1.22.2362.0
v1.21.2361.0
v1.21.1772.0
v1.20.11781.0
v1.21.1382.0
v1.20.11381.0
v1.21.1272.0
v1.20.11271.0
v1.20.11215.0
v1.19.11213.0
v1.20.10822.0
v1.19.10821.0
v1.20.10572.0
v1.19.10573.0
v1.20.10303.0
v1.19.10302.0
v1.18.10301.0
v1.20.10293.0
v1.19.10292.0
v1.18.10291.0
v1.18.3181.0
v1.19.3172.0
v1.19.2831.0
v1.18.2822.0
v1.19.2682.0
v1.18.2681.0
v1.18.1462.0
v1.17.11461.0
v1.18.1421.0
v1.17.11391.0
v1.17.11043.0
v1.16.10261.0
v1.17.1023
v1.16.10231.0
v1.15.3465.0
v1.16.3463.0
v1.15.2712.0
v1.15.2874.0
v1.16.2641.0
v1.16.2523.0
v1.15.2524.0
v1.15.2282.0
v1.14.2281.0
v1.14.1962.0
v1.15.2002.0
v1.15.2001.0
v1.15.1862.0
v1.14.1861.0
v1.14.1451.0
v1.14.1432.0
v1.13.11431.0
v1.13.10983.0
v1.12.10982.0
v1.13.10733.0
v1.12.10732.0
v1.13.10395.0
v1.12.10393.0
v1.13.10336.0
v1.12.10334.0
v1.12.3472.0
v1.11.3471.0
v1.12.2931.0
v1.12.2922.0
v1.11.2921.0
v1.11.2731.0
v1.10.2714.0
v1.11.2421.0
v1.10.2383.0
v1.10.1933.0
v1.9.1942.0
v1.9.1523.0
v1.8.1521.0
v1.9.1445.0
v1.8.1444.0
v1.8.1092.0
v1.7.1091.0
v1.8.1032.0
v1.7.1033.0
v1.7.572.0
v1.6.10571.0
v1.5.10411.0
v1.6.10412.0
v1.6.10272.0
v1.5.10271.0
v1.5.3242.0
v1.4.3243.0
v1.5.3142.0
v1.4.3141.0
v1.4.2652.0
v1.3.2651.0
v1.3.2382.0
v1.2.2381.0
v1.1.2233.0
v1.2.2234.0
v1.1.2021.0
v1.2.2022.0
v1.1.1812.0
v1.0.1811.0
v1.1.1671.0
v1.0.1401.0
v0.11.1333.0
v0.11.1251.0
v0.11.1191.0
v0.11.1111.0
v0.11.1121.0
v0.10.781.0
v0.10.761.0
v0.9.433.0
v0.8.10261.0
v0.8.10091.0
v0.7.3451.0
v0.7.3382.0
v0.7.3291.0
v0.7.3252.0
v0.6.3181.0
v0.6.2951.0
v0.6.2911.0
v0.5.2762.0
v0.5.2761.0
v0.5.2681.0
v0.5.2661.0
v0.3.2321.0
v0.4.2342.0
v0.4.2382.0
v0.3.2171.0
v0.3.2142.0
v0.2.1831.0
v0.2.1715.0
v0.2.1703.0
v0.1.1621.0
v0.1.1581.0
v0.1.1502.0
v0.1.1431.0
v0.1.1361.0
v0.1.1093.0
v0.1.1161.0
v0.1.1204.0
experiment-master
v0.1.1025.0
experiment-OutsideBuild
broken-tabstops
RS2-final
v0.1.1002.0
experiment-rel-windows-inbox
experiment-f-ServerApp
v0.1.1211.0
1904.29002
1810.02002
1708.14008
Labels
Clear labels
⛺ Reserved
A11yCO
A11yMAS
A11ySev1
A11ySev2
A11ySev3
A11yTTValidated
A11yUsable
A11yVoiceAccess
A11yWCAG
Area-Accessibility
Area-AtlasEngine
Area-AzureShell
Area-Build
Area-Build
Area-Chat
Area-CmdPal
Area-CodeHealth
Area-Commandline
Area-CookedRead
Area-DefApp
Area-Extensibility
Area-Fonts
Area-GroupPolicy
Area-i18n
Area-Input
Area-Interaction
Area-Interop
Area-Localization
Area-Output
Area-Performance
Area-Portable
Area-Quality
Area-Remoting
Area-Rendering
Area-Schema
Area-Server
Area-Settings
Area-SettingsUI
Area-ShellExtension
Area-ShellExtension
Area-ShellExtension
Area-Suggestions
Area-Suggestions
Area-TerminalConnection
Area-TerminalControl
Area-Theming
Area-UserInterface
Area-VT
Area-Windowing
Area-WPFControl
AutoMerge
Blocking-Ingestion
Culprit-Centennial
Culprit-WinUI
Disability-All
Disability-Blind
Disability-LowVision
Disability-Mobility
External-Blocked-WinUI3
Fixed
Gathering-Data
good first issue
HCL-E+D
HCL-WindowsTerminal
Help Wanted
Impact-Compatibility
Impact-Compliance
Impact-Correctness
Impact-Visual
In-PR
InclusionBacklog
InclusionBacklog-Windows TerminalWin32
InclusionCommitted-202206
Issue-Bug
Issue-Docs
Issue-Feature
Issue-Feature
Issue-Question
Issue-Samples
Issue-Scenario
Issue-Task
Needs-Attention
Needs-Author-Feedback
Needs-Bisect
Needs-Discussion
Needs-Repro
Needs-Tag-Fix
Needs-Tag-Fix
Needs-Triage
No-Recent-Activity
Priority-0
Priority-1
Priority-2
Priority-3
Product-Cmd.exe
Product-Colortool
Product-Colortool
Product-Colortool
Product-Conhost
Product-Conpty
Product-Meta
Product-Powershell
Product-Terminal
Product-WSL
pull-request
Resolution-Answered
Resolution-By-Design
Resolution-Duplicate
Resolution-External
Resolution-Fix-Available
Resolution-Fix-Committed
Resolution-No-Repro
Resolution-Won't-Fix
Severity-Blocking
Severity-Crash
Severity-DataLoss
spam
this-will-be-a-breaking-change
Tracking-External
WindowsTerminal_Win32
Work-Item
zAskModeBug
zInbox-Bug
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/terminal#18157
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akulbe on GitHub (Aug 11, 2022).
Windows Terminal version
No response
Windows build number
No response
Other Software
irssi 1.4.1
tmux (stable 3.x and 3.4)
Steps to reproduce
Open WT. Connect to VM with IRC session, attach to your detached tmux session with tmux attach -d and then wait until the screen is full of text. Once it is, only the last line in the buffer will update.
Expected Behavior
All lines on the screen would update. When a new line of text posts at the bottom, all the other lines move up by one.
Actual Behavior
Every line of text on the screen, except for the very last one, stays the same. Only the last line updates.
https://user-images.githubusercontent.com/123279/184246420-6bdaedfe-20b8-4171-994c-be8e96813952.mp4
In the attached video file, the first 20 seconds you can see the bug behavior described. After that, I switched to using the Xshell application, and attached to the same tmux session, and you see what the proper behavior that Windows Terminal should exhibit is.
@zadjii-msft commented on GitHub (Aug 11, 2022):
@DHowett you're our resident irssi user
@akulbe commented on GitHub (Aug 11, 2022):
Oh dude… I am this alllllllll the way. I registered my nickname on FreeNode (before it imploded) in 2003. Social networks come and go, but IRC IS FOREVER BABYYYYYY! 😂
@DHowett commented on GitHub (Aug 12, 2022):
amen!
So, to the issue at hand. I do use irssi in screen in Terminal a lot. I've not seen this with that particular combo.
However, I have seen this sort of behavior before, but it always came down to one of two things:
Would you mind capturing a session in the debug tap? As well, would you grab the value of
$TERMinside and outside of tmux?@akulbe commented on GitHub (Aug 12, 2022):
(DHowett:) I've edited out the user input portion of this to make the transcript more output-oriented:
Original transcript
@akulbe commented on GitHub (Aug 12, 2022):
inside and outside tmux, the value of
$TERMisxterm-256color@akulbe commented on GitHub (Aug 12, 2022):
@DHowett Is that debug output sufficient or… do I need to leave it running long enough for the screen to fill up and for the reported behavior to exhibit? 😬
@DHowett commented on GitHub (Aug 12, 2022):
Ah, I was hoping that we could capture a trace while the reported behavior was exhibited. That said, I'll see if either of the two things I thought may be happening were happening first...
@akulbe commented on GitHub (Aug 12, 2022):
Coming right up.
@DHowett commented on GitHub (Aug 12, 2022):
Actually, one last request if you haven't yet started...
Can you attach to the tmux session inside
script? That is ...That'll capture, in
typescript, a transcript of what the terminal was sent.The debug tap will capture a transcript of what the terminal received (through our windows console translation layer! they can be quite different!)
@akulbe commented on GitHub (Aug 12, 2022):
␛[?9001h␛[?1004h␛[I␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[?25l␛[2J␛[m␛[HPowerShell␣7.2.6␍␊
Copyright␣(c)␣Microsoft␣Corporation.␛[4;1Hhttps://aka.ms/powershell␍␊
Type␣'help'␣to␣get␣help.␛[7;1H␛]0;Administrator:␣PowerShell␇␛[?25h␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;0;1;1_␛[18;56;0;0;0;1_␛[?25lRemember,␣the␣best␣angle␣to␣approach␣a␣problem␣from␣is␣the␣"try"␣angle.␛[9;1HLoading␣personal␣and␣system␣profiles␣took␣892ms.␍␊
␛[?25h␛[?25l␛[38;2;255;238;88m␣␣␣␛[38;2;255;255;255mAaron␣Kulbe@kraken␣␛[38;2;145;221;255m␛[7m␛[38;2;16;14;35m␛[48;2;145;221;255m␛[27m␣
␣␛[38;2;145;221;255m␛[49m␛[K␛[m␍␊␛[m$␣␛]0;akulbe@chatter:␣␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[10;30H␛[?25h␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_␛[?25l␛[93ms␛[38;5;238msh␣irc␛[10;31H␛[?25h␛[m␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_␛[?25l␛[93m␈sc␛[38;5;238mp␣virtio-win-0.1.221.iso␣akulbe@172.20.252.250:␛[10;32H␛[?25h␛[m␛[82;19;114;1;0;1_␛[82;19;114;0;0;1_␛[?25l␛[93m␛[10;30Hscr␛[38;5;238mipt␣end␣time␣is␣08/03/2022␣11:52:34␛[37m␛[40m␛[11X␛[10;33H␛[?25h␛[m␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␛[?25l␛[93m␛[10;30Hsc␛[38;5;238mp␣virtio-win-0.1.221.iso␣akulbe@172.20.252.250:␛[10;32H␛[?25h␛[m␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␛[?25l␛[93m␛[10;30Hs␛[38;5;238msh␣irc␛[37m␛[40m␛[42X␛[10;31H␛[?25h␛[m␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␛[?25l␛[37m␛[40m␈␣␣␣␣␣␣␣␛[10;30H␛[?25h␛[m␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_␛[?25l␛[93ms␛[38;5;238msh␣irc␛[10;31H␛[?25h␛[m␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_␛[?25l␛[93m␈ss␛[38;5;238mh␣irc␛[10;32H␛[?25h␛[m␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_␛[?25l␛[93m␛[10;30Hssh␣␛[38;5;238mirc␛[10;33H␛[?25h␛[m␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣␛[38;5;238mirc␛[10;34H␛[?25h␛[m␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣i␛[38;5;238mrc␛[10;35H␛[?25h␛[m␛[82;19;114;1;0;1_␛[82;19;114;0;0;1_␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣ir␛[38;5;238mc␈␛[?25h␛[m␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣irc␛[38;5;238mr␈␛[?25h␛[m␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[K␍␊
␛[?25lWelcome␣to␣Ubuntu␣22.04.1␣LTS␣(GNU/Linux␣5.15.0-46-generic␣x86_64)␛[13;1H␣␣Documentation:␣␣https://help.ubuntu.com␍␊
␣␣Management:␣␣␣␣␣https://landscape.canonical.com␍␊
␣␣Support:␣␣␣␣␣␣␣␣https://ubuntu.com/advantage␛[17;1H␣␣System␣information␣as␣of␣Fri␣Aug␣12␣02:19:11␣PM␣PDT␣2022␛[19;1H␣␣System␣load:␣␣0.0␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣Processes:␣␣␣␣␣␣␣␣␣␣␣␣␣125␍␊
␣␣Usage␣of␣/:␣␣␣71.2%␣of␣28.37GB␣␣␣Users␣logged␣in:␣␣␣␣␣␣␣1␍␊
␣␣Memory␣usage:␣27%␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣IPv4␣address␣for␣eth0:␣172.20.252.132␍␊
␣␣Swap␣usage:␣␣␣0%␛[24;1H␣␣Super-optimized␣for␣small␣spaces␣-␣read␣how␣we␣shrank␣the␣memory␍␊
␣␣␣footprint␣of␣MicroK8s␣to␣make␣it␣the␣smallest␣full␣K8s␣around.␛[27;1H␣␣␣https://ubuntu.com/blog/microk8s-memory-optimisation␛[29;1H0␣updates␣can␣be␣applied␣immediately.␛[32;1HLast␣login:␣Fri␣Aug␣12␣14:12:17␣2022␣from␣172.20.252.10␍␊
␛[?25h␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m
␇␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_s␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[82;19;114;1;0;1_␛[82;19;114;0;0;1_r␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[80;25;112;1;0;1_␛[80;25;112;0;0;1_p␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␍␊␛[m$␣␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[38;72;0;1;256;1_mux␣attach␣-d␛[38;72;0;0;256;1_␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␍␊Script␣started,␣output␣log␣file␣is␣'typescript'.␍␊
␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m
␛[?1049h␛[22;0;0t␛[?1h␛=␛[2J␛[?12l␛[?1000l␛[?1002l␛[?1003l␛[?1006l␛[?1005l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[>q␛[?25l␛[37m␛[44m␛[H␣http://mywiki.wooledge.org/BashFAQ␣|␣http://mywiki.wooledge.org/BashGuide␣|␣http://gnu.org/s/bash/manual␣|␣https://wiki.bas␛[m14:02␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mfor␣me␣it␣prints␣"VIOLENCEVIOLENCEVIOLEN8EVIOLENCEVIOLENCE".␣missed␣that␣8␛[K␍␊
14:02␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣think␣the␣/.␣will␣copy␣more␣things␣that␣just␣/␣since␣how␣bash␣expands␣the␣.␛[K␍␊
14:02␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[modd␛[K␍␊
14:03␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣what␣sort␣of␣things␣would␣it␣copy␣exactly␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.␛[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco���[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[124C␛[?12l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[37m␛[44m␛[H␣http://mywiki.wooledge.org/BashFAQ␣|␣http://mywiki.wooledge.org/BashGuide␣|␣http://gnu.org/s/bash/manual␣|␣https://wiki.bas␛[m14:02␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mfor␣me␣it␣prints␣"VIOLENCEVIOLENCEVIOLEN8EVIOLENCEVIOLENCE".␣missed␣that␣8␛[K␍␊
14:02␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣think␣the␣/.␣will␣copy␣more␣things␣that␣just␣/␣since␣how␣bash␣expands␣the␣.␛[K␍␊
14:02␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[modd␛[K␍␊
14:03␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣what␣sort␣of␣things␣would␣it␣copy␣exactly␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.␛[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␛[37m␛[44m␍␊
␣␛[36m[␛[37m14:19␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m7:libera/#bash(␛[36m+␛[37mCcnt)␛[36m]␣[␛[37mAct:␣␛[97m8␛[36m,␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#bash]␛[K␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:19␣12-Aug-22␛[?12l␛[?7727h␛[m␛[90m␛[53;16H>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␛[37m␛[44m␍␊
␣␛[36m[␛[37m14:19␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m7:libera/#bash(␛[36m+␛[37mCcnt)␛[36m]␣[␛[37mAct:␣␛[97m8␛[36m,␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#bash]␛[K␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:19␣12-Aug-22␛[64;9H␛[?25h␛[m␛[?25l␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:20␛[36m]␊
␛[?25h␛[m␛[?12l␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:20␣12-Aug-22␛[64;9H␛[m␛[?25l␛[2;1H14:02␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[modd␛[K␍␊
14:03␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣what␣sort␣of␣things␣would␣it␣copy␣exactly␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.␛[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␛[64;9H␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:03␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣what␣sort␣of␣things␣would␣it␣copy␣exactly␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.���[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␛[64;9H␛[?25h␛[?25l␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:21␛[36m]␊
␛[?25h␛[m␛[82;19;114;1;0;1_␛[82;19;114;0;0;1_r␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[K␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_s␛[K␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[K␛[77;50;109;1;0;1_␛[77;50;109;0;0;1_m␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[87;17;119;1;0;1_␛[87;17;119;0;0;1_w␛[K␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[82;19;114;1;0;1_␛[82;19;114;0;0;1_r␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[82;19;114;1;0;1_␛[82;19;114;0;0;1_r␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[78;49;110;1;0;1_␛[78;49;110;0;0;1_n␛[K␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[K␛[76;38;108;1;0;1_␛[76;38;108;0;0;1_l␛[K␛[89;21;121;1;0;1_␛[89;21;121;0;0;1_y␛[K␛[188;51;44;1;0;1_␛[188;51;44;0;0;1_,␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[?12l␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:21␣12-Aug-22␛[64;34H␛[m␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[K␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[K␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[K␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[77;50;109;1;0;1_␛[77;50;109;0;0;1_m␛[K␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[K␛[75;37;107;1;0;1_␛[75;37;107;0;0;1_k␛[K␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[K␛[78;49;110;1;0;1_␛[78;49;110;0;0;1_n␛[K␛[71;34;103;1;0;1_␛[71;34;103;0;0;1_g␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[K␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[K␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[K␛[70;33;102;1;0;1_␛[70;33;102;0;0;1_f␛[K␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[K␛[76;38;108;1;0;1_␛[76;38;108;0;0;1_l␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_s␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[K␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[K␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[K␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[78;49;110;1;0;1_␛[78;49;110;0;0;1_n␛[K␛[?25l␛[2;1H␛[K␍␊
14:03␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣what␣sort␣of␣things␣would␣it␣copy␣exactly␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.␛[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␛[64;61H␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:03␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣what␣sort␣of␣things␣would␣it␣copy␣exactly␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.␛[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␛[64;61H␛[?25h␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[87;17;119;1;0;1_␛[87;17;119;0;0;1_w␛[K␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_s␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[88;45;120;1;0;1_␛[88;45;120;0;0;1_x␛[K␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[K␛[78;49;110;1;0;1_␛[78;49;110;0;0;1_n␛[K␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␈␛[K␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␈␛[K␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␈␛[K␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[K␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[K␛[78;49;110;1;0;1_␛[78;49;110;0;0;1_n␛[K␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_s␛[K␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[K␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[82;19;114;1;0;1_␛[82;19;114;0;0;1_r␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[K␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␛[K␛[1C␛[77;50;109;1;0;1_␛[77;50;109;0;0;1_m␛[K␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[K␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_s␛[K␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[K␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[K␛[75;37;107;1;0;1_␛[75;37;107;0;0;1_k␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[K␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?25l␛[2;1H␛[K␍␊
14:03␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣what␣sort␣of␣things␣would␣it␣copy␣exactly␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.␛[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or���not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␛[64;9H␛[K␛[?25h␛[?25l␛[2;1H14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣bash␣does␣not␣expand␣.␛[K␍␊
14:03␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mit␣copies␣hidden␣files␛[K␍␊
14:03␣␛[90m<␣␛[mgreycat␛[90m>␣␛[monly␣if␣you␣put␣a␣␣after␣it,␣or␣something␣similar␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mlarryv:␣did␣i␣find␣a␣bug␣in␣bc?␛[K␍␊
14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␛[64;9H␛[?25h␛[?25l␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:22␛[36m]␊
␛[?25h␛[m␛[17;29;0;1;8;1_␛[76;38;12;1;8;1_␛[76;38;12;0;8;1_␛[?25l␛[37m␛[44m␛[H␣http://mywiki.wooledge.org/BashFAQ␣|␣http://mywiki.wooledge.org/BashGuide␣|␣http://gnu.org/s/bash/manual␣|␣https://wiki.bas␛[m14:03␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mdoubt.␛[K␍␊
14:03␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mI␣can␣do␣it␣out␣to␣several␣hundred␣places␣on␣wolfram␣alpha␛[K␍␊
14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␛[37m␛[44m␍␊
␣␛[36m[␛[37m14:22␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m7:libera/#bash(␛[m␛[K␍␊
␛[K␛[124C␛[?12l␛[36m␛[44m␛[63;43H+␛[37mCcnt)␛[36m]␣[␛[37mAct:␣␛[97m8␛[36m,␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#bash]␛[K␛[1C␛[?25h␛[17;29;0;0;0;1_␛[?12l␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:22␣12-Aug-22␛[64;9H␛[m␛[17;29;0;1;8;1_␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣Channel␣for␣VMware␣products␣||␣If␣you␣need␣help␣state␣your␣product␣and␣version␣||␣Don't␣ask␣to␣ask,␣just␣ask␣||␣Docs:␣https␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#vmware␛[m:␣Channel␣for␣VMware␣products␣||␣If␣you␣need␣help␣state␣your␣product␣and␣version␣||␣Don't␣ask␣to␣␣␣␣␣␣␣␣␣␣␣ask,␣just␣ask␣||␣Docs:␣https://docs.vmware.com/␣||␣vSphere␣6.5/6.7␣is␣EoGS␣2022-10-15␣-␣start␣planning␣your␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣upgrades!␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mneotic␛[22m␣␛[90m[␛[mneotic@illvilja.org␛[90m]␣[␛[mWed␣Apr␣13␣03:34:52␣2022␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#vmware␛[22m:␣Total␣of␣␛[1m126␛[22m␣nicks␣␛[90m[␛[m␛[1m0␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m126␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:16␣␛[90m-␛[95mChanServ␛[90m(␛[35mChanServ@services.libera.chat␛[90m)-␣␛[m[#vmware]␣welcome␣to␣#vmware␛[K␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#vmware␣␛[mcreated␣Wed␣May␣19␣07:40:07␣2021␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#vmware␛[22m␣was␣synced␣in␣␛[1m102␛[22m␣secs␛[K␍␊
11:51␣␛[90m<␣␛[mdbronder␛[90m>␣␛[mIf␣only␣VMware␣would␣ship␣a␣replacement␣for␣Converter...␛[K␍␊
11:56␣␛[90m<␣␛[mGVD␛[90m>␣␛[mwell,␣they're␣supposedly␣working␣on␣it␛[K␍␊
11:56␣␛[90m<␣␛[mGVD␛[90m>␣␛[mso␣there's␣hope␛[K␍␊
12:14␣␛[90m<␣␛[mdbronder␛[90m>␣␛[mI'm␣sure␣it's␣high␣on␣Broadcom's␣priority␣list...␛[K␍␊
12:15␣␛[90m<␣␛[mGVD␛[90m>␣␛[mit␣allows␣people␣to␣migrate␣to␣their␣platform,␣after␣which␣they␣can␣vendor␣lockin␛[K␍␊
12:16␣␛[90m<␣␛[mGVD␛[90m>␣␛[mbesides,␣Broadcom␣isn't␣defining␣policy␣yet␛[K␍␊
12:21␣␛[90m<␣␛[mdbronder␛[90m>␣␛[mThe␣top␣600␣customers␣aren't␣going␣to␣be␣relying␣on/waiting␣on␣a␣Converter␣replacement.␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[37m␛[44m␍␊
␣␛[36m[␛[37m14:22␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m8:libera/#vmware(␛[36m+␛[37mnt)␛[36m]␣[␛[37mAct:␣␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#vmware]␛[K␛[1C␛[?25h␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣Supported␣Windows␣OS␣Support␣and␣Discussion:␣Be␣polite,␣factual,␣constructive,␣and␣topical.␣|␣Windows␣11␣is␣out␣for␣everyon␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#windows␛[m:␣Supported␣Windows␣OS␣Support␣and␣Discussion:␣Be␣polite,␣factual,␣constructive,␣and␣topical.␣|␣␣␣␣␣␣␣␣␣␣␣Windows␣11␣is␣out␣for␣everyone!␣Free␣for␣win10␣users␣https://www.microsoft.com/en-gb/software-download/windows11␣␣␍␊
␣␣␣␣␣␣␣␣␣␣|␣More␣info␣and␣guidelines:␣https://libera-windows.com/␣|␣See␣also␣#windows-social␣#windows-server␛[K␍␊
␣␣␣␣␣␣␣␣␣␣#windows-legacy␣#windows-wsl␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mblkshp␛[22m␣␛[90m[␛[m
blkshp@about/windows/staff/blkshp␛[90m]␣[␛[mTue␣Oct␣␣5␣00:31:23␣2021␛[90m]␛[K␛[m␍␊quassel@about/windows/staff/cptluxx␛[90m]␣[␛[mFri␣Oct␣22␣04:17:31␣2021␛[90m]␛[K␛[m␍␊11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#windows␛[22m:␣Total␣of␣␛[1m370␛[22m␣nicks␣␛[90m[␛[m␛[1m2␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m368␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#windows␣␛[mcreated␣Wed␣May␣19␣07:36:22␣2021␛[K␍␊
11:17␣␛[90m<␣␛[manon062222␛[90m>␣␛[mtest␛[K␍␊
11:17␣␛[90m<␣␛[manon0622␛[90m>␣␛[mI␣logged␣in␣from␣the␣computer␣to␣anon062222,␣I␣log␣out␣of␣this␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#windows␛[22m␣was␣synced␣in␣␛[1m104␛[22m␣secs␛[K␍␊
11:42␣␛[90m<␣␛[mstolen␛[90m>␣␛[mis␣there␣some␣macOS␣iso␣I␣can␣use␣on␣windows␣oracle␣VM␣?␛[K␍␊
11:43␣␛[90m<␣␛[mS_SubZero␛[90m>␣␛[mNo,␣macOS␣is␣only␣for␣Macs.␛[K␍␊
11:44␣␛[90m<␣␛[mstolen␛[90m>␣␛[mIt␣is␣not␣possible␣to␣get␣on␣Oracle␣Virtual␣Machine␣also␣?␣Wow␣very␣strict.␛[K␍␊
11:44␣␛[90m<␣␛[mstolen␛[90m>␣␛[mCan␣I␣liveboot␣,␣i.e␣make␣a␣portable␣windows␣10␣system␣?␛[K␍␊
11:44␣␛[90m<␣␛[mS_SubZero␛[90m>␣␛[mNo␛[K␍␊
11:45␣␛[90m<␣␛[mstolen␛[90m>␣␛[mDoes␣windows␣have␣␛[1many␛[22m␣portable␣OS␣options␣?␛[K␍␊
11:45␣␛[90m<␣␛[mBGL␛[90m>␣␛[mhttps://www.bleepingcomputer.com/news/microsoft/microsoft-shares-workarounds-for-outlook-crashing-after-launch/␣-␣this␣seems␣a␣little␣"too"␣basic␣of␣a␣problem,␣even␣yesterday␣when␣doing␣scripting␣i␣put␣in␣an␣anticipatio␣of␣a␣variable␣␣␛[20;14Hbeing␣blank,␣even␣though␣technically␣that␣shouldn't␣ever␣happen,␣it's␣kinda␣101␣stuff?␣i␣duno␛[K␍␊
11:46␣␛[90m<␣␛[mS_SubZero␛[90m>␣␛[mstolen:␣not␣anymore.␛[K␍␊
11:46␣␛[90m<␣␛[mBGL␛[90m>␣␛[mdon't␣worry␣guys␣as␣long␣as␣none␣of␣the␣variables␣are␣blank␣these␣loops␣will␣be␣fine␛[K␍␊
11:47␣␛[90m<␣␛[mBGL␛[90m>␣␛[m"We␣do␣not␣know␣why␣the␣EmailAddress␣key␣is␣not␣being␣set␣properly"␛[K␍␊
11:47␣␛[90m<␣␛[mBGL␛[90m>␣␛[m...␣lol␛[K␍␊
11:48␣␛[90m<␣␛[mBGL␛[90m>␣␛[mthe␣unthinkable␣happened␛[K␍␊
11:49␣␛[90m<␣␛[malexrelis␛[90m>␣␛[mstolen:␣It␣is␣possible␣but␣it␣violate's␣Apple's␣license␣agreement␣if␣it's␣not␣done␣on␣Apple␣hardware.␣␣␣␣␍␊
11:49␣␛[90m<␣␛[mCptLuxx␛[90m>␣␛[mand␣we␣are␣offtopic␛[K␍␊
11:49␣␛[90m<␣␛[mstolen␛[90m>␣␛[mokay,␣understood␣CptLuxx␛[K␍␊
11:50␣␛[90m<␣␛[malexrelis␛[90m>␣␛[mstolen:␣You␣can␣make␣a␣Windows␣10␣portable␣system␣with␣the␣correct␣tools␛[K␍␊
11:50␣␛[90m<␣␛[mstolen␛[90m>␣␛[mwill␣it␣be␣a␣portable␣system␣BGL␣?␛[K␍␊
11:50␣␛[90m<␣␛[malexrelis␛[90m>␣␛[mIf␣you␣want␣a␣very␣minimal␣portable␣Windows␣environment␣with␣a␣few␣tools␣then␣use␣Windows␣PE,␣but␣if␣you␣␛[32;20Hwant␣a␣more␣fledged␣environment␣you␣could␣configure␣Ventoy␣with␣the␣Windows␣VHD␣boot␣plugin.␛[K␍␊
11:51␣␛[90m<␣␛[malexrelis␛[90m>␣␛[mBut␣I␣highly␣recommend␣doing␣the␣Ventoy␣thing␣on␣a␣NVME␣or␣SATA␣SSD␣in␣a␣USB␣enclosure.␣Small␣USB␣flash␣␣␛[34;20Hdrives␣will␣usually␣not␣cut␣it.␛[K␍␊
11:52␣␛[90m<␣␛[mstolen␛[90m>␣␛[moh␣USB␣drives␣won't␣fit,␣what␣size␣are␣we␣looking␣at␣?␛[K␍␊
11:52␣␛[90m<␣␛[mstolen␛[90m>␣␛[mhow␣many␣gigs␣i␣mean␛[K␍␊
11:53␣␛[90m<␣␛[mBGL␛[90m>␣␛[min␣the␣context␣of␣windows,␣usb␣sticks␣haven't␣worked␣out␣as␣well␣for␣booting␣live,␣i␣also␣use␣an␣external␣usb␣␣␛[38;14Henclosure␣w/SSD␛[K␍␊
11:58␣␛[90m<␣␛[malexrelis␛[90m>␣␛[mstolen:␣Take␣a␣look␣at␣256␣GBs␣or␣more.␛[K␍␊
11:58␣␛[90m<␣␛[malexrelis␛[90m>␣␛[mI␣exclusively␣use␣GNU/Linux␣on␣my␣laptop␣but␣have␣a␣256␣GB␣NVME␣USB␣enclosure␣with␣Windows␣10␣+␣Ventoy␣␣␣␛[41;20Hand␣it␣works␣just␣about␣as␣well␣as␣if␣the␣NVME␣was␣installed␣internally.␛[K␍␊
12:08␣␛[90m<␣␛[mBGL␛[90m>␣␛[malex:␣kinda␣same␣here,␣the␣performance␣over␣USB␣3␣on␣ssd␣or␣better␣isn't␣that␣bad␣actually,␣basically␣anything␣␛[43;14Hwith␣a␣mechnical␣drive␣is␣still␣slower␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:22␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m9:libera/#windows(␛[36m+␛[37mCcfjnprt␣#windows-please-register␣3:2␣␛[36m[␛[37mAct:␣␛[36m10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[m␍␊
[#windows]␛[K␛[63;111H␛[?25h␛[36m␛[44m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␛[64;12H␛[m␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣MS␣Windows␣Server/Client/Infrastructure-related␣Support␣and␣Discussion.␣Keep␣it␣polite,␣factual,␣constructive,␣and␣topical.␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#windows-server␛[m:␣MS␣Windows␣Server/Client/Infrastructure-related␣Support␣and␣Discussion.␣Keep␣it␣␣␣␣␣␣␣␣␍␊
␣␣␣���␣␣␣␣␣␣polite,␣factual,␣constructive,␣and␣topical.␣||␣Site␣and␣Guidelines:␣https://libera-windows.com␣||␣General␣windows␣␣␣␣␣␣␣␣␣␣␣discussion:␣#windows␣||␣Offtopic:␣/msg␣alis␣list␣SEARCHTERM␣|␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mCptLuxx␛[22m␣␛[90m[␛[m
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#windows-server␛[22m:␣Total␣of␣␛[1m155␛[22m␣nicks␣␛[90m[␛[m␛[1m1␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m154␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#windows-server␣␛[mcreated␣Wed␣May␣19␣09:39:02␣2021␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#windows-server␛[22m␣was␣synced␣in␣␛[1m107␛[22m␣secs␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:22␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m10:libera/#windows-server(␛[36m+␛[37mCcnpt)␛[36m]␣[␛[37mAct:␣␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#windows-server]␛[K␛[1C␛[?25h␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣Welcome␣to␣#linux!␣Help/support␣for␣any␣Linux␣distribution.␣Discussion␣about␣the␣various␣aspects␣of␣Linux␣and␣Free/Open␣Sou␛[m14:06␣␛[90m<␣␛[mayecee␛[90m>␣␛[mthe␣correct␣plural␣is␣linusen␛[K␍␊
14:06␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mHas␣anyone␣else␣had␣the␣impression␣that␣Lenovo␣tries␣to␣be␣for␣AMD␣what␣Dell␣is␣for␣Intel?␛[K␍␊
14:06␣␛[90m<␣␛[msadbear␛[90m>␣␛[mNo,␣absolutely␣not.␛[K␍␊
14:06␣␛[90m<␣␛[msadbear␛[90m>␣␛[mThey␣are␣Intel␣cucks,␣too.␛[K␍␊
14:07␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[min␣my␣country,␣lenovo␣has␣exactly␣two␣models␣with␣6850U␣(I␣would␣rather␣have␣a␣lower␣sku),␣both␣are␣well␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣over␣2000€,␣and␣they␣have␣not␣been␣in␣stock␣so␣far,␣and␣estimated␣delivery␣date␣is␣february␣2023␛[K␍␊
14:07␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mso␣yea.....␛[K␍␊
14:07␣␛[90m<␣␛[mssm_␛[90m>␣␛[mimagine␣thinking␣amd␣is␣better␣than␣intel␛[K␍␊
14:07␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mThey␣had␣some␣strong␣AMD␣marketing␣up␣around␣the␣time␣I␣bought␣the␣last␣machine.␛[K␍␊
14:07␣␛[90m<␣␛[mssm_␛[90m>␣␛[mthey're␣both␣garbo␛[K␍␊
14:07␣␛[90m<␣␛[mssm_␛[90m>␣␛[mat␣least␣intel␣made␣modesetting␣I␣guess␛[K␍␊
14:07␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mMrElendig:␣Ouch.␛[K␍␊
14:08␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mand␣7xxxu␣is␣expected␣to␣be␣announced␣in␣april␣2023␣:p␛[K␍␊
14:08␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mTiger␣'n'␣Alder␣Lake␣are␣available␣today.␣:P␛[K␍␊
14:08␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[m6xxxu␣was␣announced␣in␣feb/april␣2022,␣but␣is␣still␣basically␣not␣available␣:/␛[K␍␊
14:09␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mStopNGo:␣yea␣but␣12th␣gen␣is␣mhee␛[K␍␊
14:10␣␛[90m<␣␛[mbparker␛[90m>␣␛[mdo␣they␣have␣SGX␣though␛[K␍␊
14:10␣␛[90m<␣␛[msadbear␛[90m>␣␛[mIntel␣CPUs␣are␣trash␣in␣laptops␛[K␍␊
14:10␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mStopNGo:␣and␣if␣you␣are␣a␣student,␣you␣might␣not␣be␣able␣to␣use␣one␣at␣all␣due␣to␣all␣the␣"exam"␛[K␛[21;20Hsoftware␣thinking␣you␣are␣running␣in␣a␣vm␣:p␛[K␍␊
14:10␣␛[90m<␣␛[msadbear␛[90m>␣␛[mcomplete␣ass␣battery␣life␣on␣the␣Lenovo␣X1C␛[K␍␊
14:10␣␛[90m<␣␛[mbparker␛[90m>␣␛[m>Lenovo␛[K␍␊
14:10␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[m(I␣should␣probably␣say,␣I␣actually␣bought␣AMD␣before␣starting␣to␣favor␣Intel␣again.␣I␣had␣no␣clue␣about␣␣␣␣␛[25;18HZen+␣and␣Zen2's␣desktop␣idle␣power␣consumption␣and␣that␣heavily␣sucks␣...)␛[K␍␊
14:10␣␛[90m<␣␛[mbparker␛[90m>␣␛[mfound␣the␣problem␛[K␍␊
14:10␣␛[90m<␣␛[msadbear␛[90m>␣␛[mbparker:␣Lenovo␣is␣much␣better␣than␣Dell␣or␣HP␛[K␍␊
14:10␣␛[90m<␣␛[mbparker␛[90m>␣␛[mrofl␛[K␍␊
14:10␣␛[90m<␣␛[msadbear␛[90m>␣␛[mfite␣me␛[K␍␊
14:11␣␛[90m<␣␛[mbparker␛[90m>␣␛[mopinions␣are␣the␣lowest␣form␣of␣intelligence␛[K␍␊
14:11␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[msadbear:␣Notebookcheck␣tested␣some␣expensive␣Dell␣laptops␣like␣some␣Latitude␣or␣what␣and␣battery␣life␣was␣␣␛[32;18Hactually␣excellent.␛[K␍␊
14:11␣␛[90m<␣␛[msadbear␛[90m>␣␛[mYou␣haven't␣made␣any␣argument␛[K␍␊
14:11␣␛[90m<␣␛[mbparker␛[90m>␣␛[mmy␣opinion␣is␣irrelevant␛[K␍␊
14:11␣␛[90m<␣␛[msadbear␛[90m>␣␛[ma␣Dell␣Latitude␣is␣pretty␣nice␣but␣its␣boring,␣not␣sexy␛[K␍␊
14:11␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mI␣don't␣believe␣it's␣the␣CPUs,␣it's␣the␣implementation.␛[K␍␊
14:12␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mhopefully␣the␣economic␣downturn␣that␣is␣comming␣will␣shake␣up␣the␣laptop␣makers␣enough␣for␣them␣to␣start␣␛[38;20Hmaking␣actually␣desireable␣devices␣again␣:/␛[K␍␊
14:12␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mprobably␣not␣though␛[K␍␊
14:12␣␛[90m<␣␛[msadbear␛[90m>␣␛[mthe␣HP␣Spectre␣is␣pure␣sex␛[K␍␊
14:12␣␛[90m<␣␛[msadbear␛[90m>␣␛[mtoo␣bad␣HP␣makes␣it␛[K␍␊
14:12␣␛[90m<␣␛[mbparker␛[90m>␣␛[mfacepalm␛[K␍␊
14:12␣␛[90m<␣␛[msadbear␛[90m>␣␛[mif␣only␣it␣had␣an␣AMD␣cpu␛[K␍␊
14:13␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mMrElendig:␣Be␣cautious,␣it␣can␣always␣go␣two␣ways.␣Among␣the␣reviews␣I've␣read␣(I␣really␣wish␣for␣better␣␣␣␛[45;18Hmemory),␣there␣was␣also␣a␣device␣with␣two␣USB-C␣ports␣total␣and␣not␣much␣else.␛[K␍␊
14:13␣␛[90m<␣␛[mbparker␛[90m>␣␛[myou␣mean␣apple␍␊
14:13␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mStopNGo:␣two?␣that␣is␣a␣luxury␛[K␍␊
14:13␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mLaptop␣makers␣will␣always␣find␣ways␣to␣sour␣the␣cake␣it␣seems.␛[K␍␊
14:13␣␛[90m<␣␛[msadbear␛[90m>␣␛[mI␣like␣Apple.␣If␣only␣we␣could␣run␣a␣proper␣linux␣distro␣on␣their␣silicon.␛[K␍␊
14:14␣␛[90m<␣␛[mbparker␛[90m>␣␛[ms/source␣the␣cake/save␣money/␛[K␍␊
14:14␣␛[90m<␣␛[mbparker␛[90m>␣␛[mlmao␛[K␍␊
14:14␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mI␣wish␣full␣sRGB␣coverage␣was␣finally␣standard␣on␣even␣budget␣devices,␣for␣once.␛[K␍␊
14:14␣␛[90m<␣␛[mbparker␛[90m>␣␛[m>I␣like␣Apple␛[K␍␊
14:14␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[mlenovo␣have␣a␣long␣and␣proud␣history␣of␣crippling␣their␣amd␣devices␣as␣an␣example␛[K␍␊
14:14␣␛[90m<␣␛[msadbear␛[90m>␣␛[mTheir␣privacy␣policies␣are␣++␛[K␍␊
14:14␣␛[90m<␣␛[mbparker␛[90m>␣␛[mLOL␛[K␍␊
14:14␣␛[90m<␣␛[msadbear␛[90m>␣␛[mbro,␣why␣u␣trollin␛[K␍␊
14:14␣␛[90m<␣␛[mMrElendig␛[90m>␣␛[muse␣a␣cpu␣that␣is␣really␣ram␣dependent␣for␣performance,␣solder␣in␣a␣single␣stick␣of␣slow␣lpddr4␛[K␍␊
14:14␣␛[90m<␣␛[mbparker␛[90m>␣␛[mno␣u␛[K␍␊
14:14␣␛[90m<␣␛[msadbear␛[90m>␣␛[mSteve␣Jobs␣wants␣you␣to␣be␣safe␣and␣privately␣secure.␛[K␍␊
14:16␣␛[90m<␣␛[mStopNGo␛[90m>␣␛[mNow,␣what␣about␣this␣HDD␣getting␣spun␣up␣unnecessarily␣before␣suspending␣the␣machine?␣I␣don't␣even␣know␣␣␣␣␛[62;18Hwhy␣it's␣happening.␛[K␛[37m␛[44m␍␊
␣␛[36m[␛[37m14:22␛[36m]␣[␛[37mSuperLag(␛[m␍␊
[#linux]␛[K␛[63;20H␛[?25h␛[36m␛[44m+␛[37mZiw)␛[36m]␣[␛[37m11:libera/#linux(␛[36m+␛[37mCcnpt)␛[36m]␣[␛[37mAct:␣␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[64;10H␛[m␛[17;29;0;0;0;1_␛[?25l␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:23␛[36m]␛[64;10H␛[?25h␛[m␛[?12l␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:23␣12-Aug-22␛[64;10H␛[m␛[17;29;0;1;8;1_␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣Welcome␣to␣#git,␣we␣like␣graphs␣|␣Current␣stable␣version:␣2.37.1␣|␣First␣visit?␣https://gitirc.eu␣|␣This␣channel␣is␣logged:␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#git␛[m:␣Welcome␣to␣#git,␣we␣like␣graphs␣|␣Current␣stable␣version:␣2.37.1␣|␣First␣visit?␣https://gitirc.eu␣␣␣␣␣␣␣␣␣␣␣|␣This␣channel␣is␣logged:␣https://gitirc.eu/log␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mgitinfo␛[22m␣␛[90m[␛[mjast@bot.gitirc.eu␛[90m]␣[␛[mTue␣Jul␣12␣22:03:43␣2022␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#git␛[22m:␣Total␣of␣␛[1m845␛[22m␣nicks␣␛[90m[␛[m␛[1m1␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m844␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#git␣␛[mcreated␣Wed␣May␣19␣06:50:28␣2021␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#git␛[22m␣was␣synced␣in␣␛[1m112␛[22m␣secs␛[K␍␊
13:22␣␛[90m<␣␛[mstrk␛[90m>␣␛[mgit␣send␣#␣expands␣to␣send-email␣but:␛[K␍␊
13:22␣␛[90m<␣␛[mstrk␛[90m>␣␛[mgit␣send-email␣#␣git:␣'send-email'␣is␣not␣a␣git␣command.␣See␣'git␣--help'.␛[K␍␊
13:22␣␛[90m<␣␛[mstrk␛[90m>␣␛[mwhat's␣the␣deal␣?␛[K␍␊
13:26␣␛[90m<␣␛[mrudi_s␛[90m>␣␛[mstrk:␣Maybe␣separate␣package.␣On␣Debian␣git-send-email␣is␣in␣git-email,␣not␣in␣git.␛[K␍␊
13:30␣␛[90m<␣␛[mbookworm␛[90m>␣␛[m...␣Debian␣overdoing␣split␣packages␣as␣usual␍␊
13:31␣␛[90m<␣␛[mkeb␛[90m>␣␛[mHello␣all␣:wave:␣wondering␣if␣anyone␣knows␣of␣a␣way␣to␣prune␣local␣branches␣that␣no␣longer␣exist␣on␣the␣remote␣␣␣␣␣␣␣␣␣␣␣␣␣␣origin?␛[K␍␊
13:32␣␛[90m<␣␛[mkeb␛[90m>␣␛[msorry␣and␣by␣"prune"␣i␣mean␣delete␛[K␍␊
13:32␣␛[90m<␣␛[mbookworm␛[90m>␣␛[mgit␣fetch␣--prune␛[K␍␊
13:33␣␛[90m<␣␛[mbookworm␛[90m>␣␛[melse␣just␣a␣loop␣over␣refs␣you␣like␣to␣delete␛[K␍␊
13:35␣␛[90m<␣␛[mkeb␛[90m>␣␛[mthanks,␣I␣tried␣git␣fetch␣--prune,␣but␣doing␣
git␣branch␣still␣shows␣branches␣that␣no␣longer␣exist␣in␣remote␣␣␍␊13:35␣␛[90m<␣␛[mkeb␛[90m>␣␛[mwhat␣do␣you␣mean␣by␣loop␣over␣the␣refs␣though?␣is␣there␣a␣git␣command␣for␣that␛[K␍␊
13:36␣␛[90m<␣␛[mrewt␛[90m>␣␛[m-p␣only␣removes␣remote␣branches␣from␣the␣local␣clone;␣if␣you␣have␣local␣branches␣that␣tracked␣deleted␣remote␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣branches,␣you'll␣have␣to␣delete␣those␣yourself␣afaik␛[K␍␊
13:38␣␛[90m<␣␛[mrewt␛[90m>␣␛[mnot␣sure␣if␣there's␣a␣way␣to␣automate␣that␣robustly,␣because␣there's␣no␣difference␣between␣"branch␣that␣used␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣to␣track␣a␣deleted␣remote␣branch"␣and␣"new␣branch␣that␣was␣never␣pushed"␛[K␍␊
13:38␣␛[90m<␣␛[mbookworm␛[90m>␣␛[mdepending␣on␣what␣exactly␣you␣want,␣enumerate␣local␣branches,␣enumerate␣remote,␣subtract,␣loop␣+␣delete␣␣␣␍␊
13:38␣␛[90m<␣␛[mbookworm␛[90m>␣␛[ma␣slightly␣more␣robust␣thing␣is␣to␣just␣delete␣merged␣branches␣based␣on␣some␣branch␛[K␍␊
13:38␣␛[90m<␣␛[mbookworm␛[90m>␣␛[mfor␣each␣ref␣can␣do␣that␛[K␍␊
13:39␣␛[90m<␣␛[mkeb␛[90m>␣␛[mthanks,␣looks␣like␣my␣best␣bet␣is␣just␣doing␣it␣manually␣for␣now.␣no␣big␣dealio␛[K␍␊
13:39␣␛[90m<␣␛[mbookworm␛[90m>␣␛[mgit␣for-each-ref␣--format='%(if:equals=refs/heads/master)%(refname)%(then)git␣push␣--delete␣origin␣␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣%(refname)%(end)'␣--merged␣master␣--␣refs/heads␛[K␍␊
13:39␣␛[90m<␣␛[mbookworm␛[90m>␣␛[m^␣that's␣missing␣a␣not␛[K␍␊
13:40␣␛[90m<␣␛[mbookworm␛[90m>␣␛[mbut␣other␣than␣that␣something␣along␣those␣lines...␣or␣␣just␣general␣bash␣/␣unixy␣stuff␛[K␍␊
13:40␣␛[90m<␣␛[mbookworm␛[90m>␣␛[mgrep␣has␣a␣subtract␣list␣b␣from␣a␣for␣instance␛[K␍␊
13:44␣␛[90m<␣␛[mstrk␛[90m>␣␛[mrudi_s:␣yeah,␣it␣was␣it,␣thanks␛[K␍␊
13:45␣␛[90m<␣␛[mrudi_s␛[90m>␣␛[mbp␛[K␍␊
13:45␣␛[90m<␣␛[mrudi_s␛[90m>␣␛[mnp␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[37m␛[44m␍␊
␣␛[36m[␛[37m14:23␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m12:libera/#git(␛[36m+␛[37mCcnt)␛[36m]␣[␛[37mAct:␣␛[36m13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#git]␛[K␛[1C␛[?25h␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣Welcome␣to␣the␣Github␣community␣channel␣|␣No␣official␣support,␣see␣https://support.github.com/request␣|␣Just␣ask␣your␣quest␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m##github␛[m:␣Welcome␣to␣the␣Github␣community␣channel␣|␣No␣official␣support,␣see␛[K␍␊
␣␣␣␣␣␣␣␣␣␣https://support.github.com/request␣|␣Just␣ask␣your␣question␣|␣https://github.community/␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mjhass␛[22m␣␛[90m[␛[mznc@about/ruby/jhass␛[90m]␣[␛[mMon␣Oct␣11␣13:07:17␣2021␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m##github␛[22m:␣Total␣of␣␛[1m142␛[22m␣nicks␣␛[90m[␛[m␛[1m0␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m142␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m##github␣␛[mcreated␣Wed␣May␣19␣07:45:44␣2021␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m##github␛[22m␣was␣synced␣in␣␛[1m114␛[22m␣secs␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:23␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m13:libera/##github(␛[36m+␛[37mnt)␛[36m]␣[␛[37mAct:␣␛[36m14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[##github]␛[K␛[1C␛[?25h␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?25l␛[37m␛[44m␛[H␣Welcome␣to␣Libera!␣Microsoft␣Azure␣/␣https://azure.microsoft.com␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#azure␛[m:␣Welcome␣to␣Libera!␣Microsoft␣Azure␣/␣https://azure.microsoft.com␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mTrancer␛[22m␣␛[90m[␛[mtrancer@user/trancer␛[90m]␣[␛[mThu␣May␣20␣22:36:13␣2021␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#azure␛[22m:␣Total␣of␣␛[1m54␛[22m␣nicks␣␛[90m[␛[m␛[1m0␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m54␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#azure␣␛[mcreated␣Wed␣May␣19␣06:51:44␣2021␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#azure␛[22m␣was␣synced␣in␣␛[1m117␛[22m␣secs␛[K␍␊
␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:23␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m14:libera/#azure(␛[36m+␛[37mnt)␛[36m]␣[␛[37mAct:␣␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#azure]␛[K␛[1C␛[?25h␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣Amazon␣Web␣Services␣discussion:␣S3,␣EC2,␣Lambda,␣EFS,␣DynamoDB,␣RDS,␣ECS,␣VPC,␣etc␣|␣https://aws.amazon.com/␣|␣No␣bashing␣o␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m##aws␛[m:␣Amazon␣Web␣Services␣discussion:␣S3,␣EC2,␣Lambda,␣EFS,␣DynamoDB,␣RDS,␣ECS,␣VPC,␣etc␣|␛[K␍␊
␣␣␣␣␣␣␣␣␣␣https://aws.amazon.com/␣|␣No␣bashing␣or␣complaining␣about␣AWS␣tolerated␣|␣Cost␣a␣factor?␣Probably␣don't␣use␣AWS␣␣␣␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mJoel␛[22m␣␛[90m[␛[m~jjshoe@user/joel␛[90m]␣[␛[mWed␣Jan␣26␣09:17:49␣2022␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m##aws␛[22m:␣Total␣of␣␛[1m195␛[22m␣nicks␣␛[90m[␛[m␛[1m2␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m3␛[22m␣voices,␣␛[1m190␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m##aws␣␛[mcreated␣Wed␣May␣19␣06:25:39␣2021␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m##aws␛[22m␣was␣synced␣in␣␛[1m119␛[22m␣secs␛[K␍␊
12:16␣␛[90m<␣␛[mjavi404␛[90m>␣␛[mIs␣fargate␣now␣merged␣with␣ECS?␛[K␍␊
12:41␣␛[90m<␛[m+jwr␛[90m>␣␛[mfargate␣has␣always␣been␣part␣of␣ECS␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:23␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m15:libera/##aws(␛[36m+␛[37mnrt)␛[36m]␣[␛[37mAct:␣␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[##aws]␛[K␛[1C␛[?25h␛[78;49;14;1;8;1_␛[78;49;14;0;8;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣https://docs.ansible.com␣␣latest␣releases:␣ansible-core␣2.13.2,␣2.12.7,␣2.11.12;␣ansible␣6.0.0,␣5.10.0;␣ansible␣2.9␣is␣EOL␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#ansible␛[m:␣https://docs.ansible.com␣␣latest␣releases:␣ansible-core␣2.13.2,␣2.12.7,␣2.11.12;␣ansible␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣6.0.0,␣5.10.0;␣ansible␣2.9␣is␣EOL␣💀␣https://groups.google.com/g/ansible-announce/c/kegIH5_okmg/␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1msivel␛[22m␣␛[90m[␛[m~sivel@ansible/staff/sivel␛[90m]␣[␛[mMon␣Jul␣18␣09:19:10␣2022␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#ansible␛[22m:␣Total␣of␣␛[1m908␛[22m␣nicks␣␛[90m[␛[m␛[1m21␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m887␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:17␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#ansible␣␛[mcreated␣Wed␣May␣19␣06:50:38␣2021␛[K␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#ansible␛[22m␣was␣synced␣in␣␛[1m122␛[22m␣secs␛[K␍␊
11:37␣␛[90m<␣␛[mSDes91␛[90m>␣␛[mHi␣everyone,␣I␣have␣been␣meaning␣to␣ask␣is␣there␣some␣inventory␣plugin␣that␣can␣help␣with␣mDNS␣/␣Avahi␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣stuff␣with␣Ansible?␣Scenarios␣where␣you␣have␣a␣decent␣amount␣of␣managed␣nodes␣on␣the␣local␣network␛[K␍␊
12:11␣␛[90m<␣␛[mwayt␛[90m>␣␛[mSDes91␣that's␣an␣interesting␣concept␛[K␍␊
12:47␣␛[90m<␣␛[mibs␛[90m>␣␛[mclear␛[K␍␊
12:48␣␛[90m<␣␛[mibs␛[90m>␣␛[mwhoops␛[K␍␊
13:46␣␛[90m<␣␛[mmatthewsilva[m]␛[90m>␣␛[mWhat␣is␣the␣most␣idiomatic␣way␣of␣using␣
become:␣true␣to␣achieve␣sudo␣in␣a␣role␣when␣the␣role␣is␣␣␛[14;26Hbeing␣called␣by␣a␣play␣that␣sets␣become_user:␣␣to␣some␣other␣user?␛[K␍␊13:54␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mmatthewsilva[m]:␣set␣variables␣␣ansbile_become␣and␣␣ansible_become_user␣␣in␣␣vars:␣␣on␣a␣block␣of␣tasks␣␣␍␊
13:55␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mThe␣variables␣should␣override␣the␣corresponding␣play␣directive.␛[K␍␊
13:55␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mhttps://docs.ansible.com/ansible/latest/user_guide/become.html␛[K␍␊
13:58␣␛[90m<␣␛[mmatthewsilva[m]␛[90m>␣␛[mThanks␣mackerman!␣So,␣for␣example,␣if␣my␣play␣sets␣
become:␣true␣and␣become_user:␛[K␛[19;26Hunprivileged_user,␣then␣in␣my␣role␣I␣can␣create␣a␣block␣that␣contains␣all␣of␣the␣role␣tasks␣and␣␣␣␛[20;26Hset␣var␣ansible_become_user:␣root,␣and␣this␣will␣allow␣all␣of␣the␣tasks␣to␣execute␣as␛[K␛[21;26Hunprivileged_user,␣unless␣become:␣true␣is␣set␣on␣a␣task,␣in␣which␣case␣it␣would␣execute␣as␣root.␣␍␊13:59␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mWhy␣does␣the␣play␣become␣configuration␣conflict␣with␣the␣role?␛[K␍␊
13:59␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mNo,␣become:␣true␣does␣␛[1mnot*␛[22m␣␣mean␣user␣root␍␊
14:00␣␛[90m<␣␛[mmatthewsilva[m]␛[90m>␣␛[mThe␣play␣wants␣to␣execute␣all␣tasks␣as␣the␣unprivileged_user.␣The␣role␣needs␣privilege␣escalation␣␣␛[25;26Hfor␣a␣few␣tasks␣though,␣so␣it␣wants␣to␣be␣able␣to␣'sudo'␣using␣
become:␣true.␛[K␍␊14:00␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mThen␣␣become␣is␣already␣true␛[K␍␊
14:01␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mOnly␣set␣␣become_user␣␣in␣that␣case␛[K␍␊
14:02␣␛[90m<␣␛[mmatthewsilva[m]␛[90m>␣␛[mAnd,␣what␣would␣I␣set␣it␣to␣if␣I␣just␣want␣to␣sudo␣rather␣than␣use␣user␣root?␛[K␍␊
14:02␣␛[90m<␣␛[mmackerman␛[90m>␣␣␣␛[mbecome_user:␣unprivileged_user␛[K␍␊
14:02␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mOr␣whomever␛[K␍␊
14:02␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mNote␣that␣if␣you␣have␣become␣enabled␣(and␣become_method␣is␣sudo,␣the␣default)␣␣all␣the␣tasks␣are␣run␣via␣␛[32;20Hsudo␛[K␍␊
14:03␣␛[90m<␣␛[mmackerman␛[90m>␣␛[msudo␣does␣␛[1mnot␛[22m␣mean␣root␛[K␍␊
14:03␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mroot␣is␣just␣the␣default␛[K␍␊
14:03␣␛[90m<␣␛[mmackerman␛[90m>␣␣␛[msudo␣-u␣unprivileged_user␣␣whoami␛[K␍␊
14:03␣␛[90m<␣␛[mmatthewsilva[m]␛[90m>␣␛[mAh,␣I␣see.␣So,␣I␣guess␣I␣do␣want␣to␣set␣become_user␣as␣root,␣if␣I␣need␣privilege␣escalation.␣␣␣␣␣␣␣␍␊
14:04␣␛[90m<␣␛[mmackerman␛[90m>␣␛[msudo␣is␣changing␣privileges␛[K␍␊
14:04␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mBecoming␣root␣means␣more␣privileges␣and␣capabilities␛[K␍␊
14:06␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mAnyway,␣it␣will␣be␣confusing␣to␣configure␣become␣things␣in␣two␣places,␣play␣and␣role.␣␣Could␣still␣be␣␣␣␣␛[40;20Huseful␣to␣do␣so,␣however.␛[K␍␊
14:08␣␛[90m<␣␛[mmackerman␛[90m>␣␛[mMany␣roles␣depend␣on␣the␣default␣become_user␣being␣root.␣But␣if␣you␣change␣that,␣you'll␣want␣to␣set␣it␣␣␣␛[42;20Hback␣to␣root␣for␣things␣that␣need␣it,␣yes.␛[K␍␊
14:08␣␛[90m<␣␛[mbreezytm[m]␛[90m>␣␛[mmackerman␣Do␣you␣know␣by␣any␣chance␣how␣to␣pass␣
-o␣StrictHostKeyChecking=no␣-i␣<path␣to␣key>␣to␣␣␣␣␛[44;22Hthe␣synchronize␣module?␛[K␍␊14:11␣␛[90m<␣␛[mbreezytm[m]␛[90m>␣␛[mtrying␣to␣get␣this␣to␣work␣
␣␣␣␣-␣name:␣Synchronize␣archived␣file␣between␣remote␣servers...␣(full␣␣␣␣␛[46;22Hmessage␣at␛[K␛[47;22Hhttps://libera.ems.host/_matrix/media/r0/download/libera.chat/3a6b5133831cfd89333bfa1f68e8e01bbd813b5e)14:11␣␛[90m<␣␛[mbreezytm[m]␛[90m>␣␣␛[m*␣trying␣to␣get␣this␣to␣work␣`␣␣␣␣-␣name:␣Synchronize␣archived␣file␣between␣remote␣servers␛[K␛[49;22Hansible.posix.synchronize:␣src:␣"/tmp/foo.tar.gz"␣dest:␣rsync://np@192.168.1.100:/mnt/backups/␛[K␛[50;22Hrsync_opts:␣-␣"-e␣ssh␣-i␣~/.ssh/key.pem"␣mode:␣push␣delegate_to:␣"{{␣inventory_hostname␣}}"␛[K␍␊14:11␣␛[90m<␣␛[mbreezytm[m]␛[90m>␣␣␛[m*␣trying␣to␣get␣this␣to␣work␣
␣␣␣-␣name:␣Synchronize␣archived␣file␣between␣remote␣servers␛[K␛[52;22Hansible.posix.synchronize:␣src:␣"/tmp/foo.tar.gz"␣dest:␣rsync://np@192.168.1.100:/mnt/backups/␛[K␛[53;22Hrsync\_opts:␣-␣"-e␣ssh␣-i␣~/.ssh/key.pem"␣mode:␣push␣delegate\_to:␣"{{␣inventory\_hostname␣}}"␣␣␣␣␣␣␍␊14:12␣␛[90m<␣␛[mbreezytm[m]␛[90m>␣␛[mtrying␣to␣get␣this␣to␣work...␣(full␣message␣at␛[K␛[55;22Hhttps://libera.ems.host/matrix/media/r0/download/libera.chat/44eef455227459b6356bd25b55db94bca27d9380)␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:23␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m16:libera/#ansible(␛[36m+␛[37mcnt)␛[36m]␣[␛[37mAct:␣␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#ansible]␛[K␛[1C␛[?25h␛[?25l␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:23␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m16:libera/#ansible(␛[36m+␛[37mcnt)␛[36m]␣[␛[37mAct:␣␛[95m7␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[64;12H␛[?25h␛[m␛[17;29;0;0;0;1␛[27;1;27;1;0;1_␛[27;1;27;0;0;1_␛[55;8;55;1;0;1_␛[55;8;55;0;0;1_␛[?12l␛[?25l␛[37m␛[44m␛[H␣http://mywiki.wooledge.org/BashFAQ␣|␣http://mywiki.wooledge.org/BashGuide␣|␣http://gnu.org/s/bash/manual␣|␣https://wiki.bas␛[m14:04␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mso␣without␣the␣␣are␣the␣two␣equivalent␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␛[60;20Hdecided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␛[62;18Hhttp://xahlee.info/UnixResource_dir/writ/unix_origin_of_dot_filename.html␛[K␛[37m␛[44m␍␊
␣␛[36m[␛[37m14:23␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m7:libera/#bash(␛[36m+␛[37mCcnt)␛[36m]␣[␛[37mAct:␣␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#bash]␛[K␛[1C␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:23␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mtbh␣I␣think␣dotfiles␣should␣only␣mean␣anything␣in␣a␣graphical␣file␣manager␣and␣no␣where␣else␛[K␛[64;9H␛[?25h␛[?25l␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:24␛[36m]␊
␛[?25h␛[m␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:24␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mthat's␣the␣same␣one␣as␣!hidden␛[K���[64;9H␛[?25h␛[?12l␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:24␣12-Aug-22␛[64;9H␛[m␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:24␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAh␣good␛[K␛[64;9H␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:24␣␛[90m<␣␛[mdodo␛[90m>␣␛[mseems␣like␣an␣opinion␣piece.␣nothing␣indicates␣hiding␣dotfiles␣was␣not␣intended␛[K␛[64;9H␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:24␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mdodo:␣It's␣Rob␣Pike␛[K␛[64;9H␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:24␣␛[90m<␣␛[mdodo␛[90m>␣␛[myes␛[K␛[64;9H␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:24␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mWho␣was␣there␛[K␛[64;9H␛[?25h␛[?25l␛[2;1H␛[K␍␊
14:04␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mand␣ti83␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣discovered␣"magic␣numbers"␣to␣divide␣on␣ti83␣years␣ago␣actually␛[K␍␊
14:05␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mgreycat:␣does␣'cp␣-r␣node_modules/.␣./node'␣have␣different␣behavior␣from␣'cp␣-r␣node_modules/␣./node'?␣␣␣␣␍␊
14:05␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mgreycat:␣all␣i␣now␣is␣cp␣/␣and␣cp␣/.␣behave␣differently␣though␣i␣don't␣fully␣understand␣why␛[K␍␊
14:05␣␛[90m<␣␛[mrustytaco␛[90m>␣␛[mi␣cant␣remember␣HOW␣we␣figured␣that␣out,␣but␣we␣could␣poke␣a␣short␣string␣into␣it␣and␣get␣two␣numbers␣to␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣divide␣and␣get␣whatever␣string␣it␣was␣over␣and␣over␣in␣base64␣:P␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣yuesbeez's␣question␣did␣not␣involve␣any␣globbing␛[K␍␊
14:06␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mlarryv:␣the␣first␣example␣has␣/.␛[K␍␊
14:06␣␛[90m<␣␛[mlarryv␛[90m>␣␛[mthat's␣not␣a␣glob␛[K␍␊
14:07␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣https://0x0.st/o2pE.txt␣-␣it's␣correct␣now,␣doesn't␣print␣8␛[K␍␊
14:08␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mrustytaco:␣(BC_LIN...␣is␣GNU␣bc)␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mThe␣.␣at␣end␣of␣the␣source␣path␣is␣a␣specific␣cp␣syntax␣that␣allowes␣to␣copy␣all␣files␣and␣folders,␣␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣including␣hidden␣ones.␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[maccording␣to␣this␣https://linux.fernandocejas.com/docs/how-to/copy-folder-content-including-hidden-files␣␣␍␊
14:09␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[muserdocs:␣by␣default␣does␣cp␣not␣copy␣hidden␣files?␛[K␍␊
14:09␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi␣thought␣it␣was␣bash,␣so␣i␣stand␣corrected.␛[K␍␊
14:10␣␛[90m<␣␛[mlarryv␛[90m>␣␛[muserdocs:␣that␣site␣is␣wrong.␛[K␍␊
14:10␣␛[90m<␣␛[muserdocs␛[90m>␣␛[myuesbeez:␣i␣don't␣think␣it␣does␛[K␍␊
14:11␣␛[90m<␣␛[mlarryv␛[90m>␣␛[m#␣mkdir␣foo;␣touch␣foo/{.hidden,nothidden};␣cp␣-a␣foo␣bar;␣ls␣-Al␣bar␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣total␣0␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣.hidden␛[K␍␊
14:11␣␛[90m<␣␛[mshbot␛[90m>␣␛[mlarryv:␣-rw-r--r--␣1␣root␣root␣0␣Aug␣12␣21:11␣nothidden␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣dot␣isn't␣doing␣what␣it␣claims␛[K␍␊
14:11␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mcp␣copies␣what␣you␣ask␣it␣to␣copy.␣It␣does␣not␣care␣if␣it␣starts␣with␣dot␣or␣not␛[K␍␊
14:11␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThat␣.␣is␣using␣path␣resolution␣to␣cause␣cp␣to␣copy␣the␣contents␣of␣source␣into␣dest,␣rather␣than␣copying␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣source␣itself␣into␣dest␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣reason␣why␣they␣think␣it's␣allowing␣you␣to␣copy␣hidden␣files␣is␣because␣this␣technique␣obviates␣the␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣need␣for␣globs␣(or␣cd)␛[K␍␊
14:12␣␛[90m<␣␛[muserdocs␛[90m>␣␛[mi'm␣fine␣been␣corrected,␣i␣think␣the␣person␣who␣asked␣is␣having␣two␣different␣outcomes␣based␣on␣using␣/.␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣or␣just␣/␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mAnd␣it␣is␣the␣globs␣that␣miss␣the␣"dot␣files"␛[K␍␊
14:12␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mI␣think␣the␣difference␣is␣foldername/.␣copies␣the␣contents␣of␣the␣folder␣into␣the␣target␣folder␣wheras␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣copying␣foldername␣copies␣the␣entire␣folder,␣replacing␣the␣target␣if␣it␣already␣exists␛[K␍␊
14:12␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(unless␣you␣use␣dotflob)␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mglob␣even␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mThe␣alternative␣is:␣cd␣/source;␣cp␣-a␣.␣/dest␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mShould␣be␣&&␣but␣you␣get␣the␣point␛[K␍␊
14:13␣␛[90m<␣␛[myuesbeez␛[90m>␣␛[mEarnest:␣yes␣i␣think␣foldername/.␣and␣foldername/␣will␣both␣copy␣hidden␣files␛[K␍␊
14:13␣␛[90m<␣␛[mEarnest␛[90m>␣␛[myuesbeez:␣Read␣what␣I␣wrote␛[K␍␊
14:15␣␛[90m<␣␛[mgeirha␛[90m>␣␛[mdifference␣is␣if␣you␣want␣to␣end␣up␣with␣␣node/node_modules/x␣or␣node/x␛[K␍␊
14:15␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mhttps://man7.org/linux/man-pages/man7/path_resolution.7.html␣-␣doesn't␣cover␣it␣explicitly,␣but␣useful␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣information␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mtrailing␣slashes␣are␣particularly␣useful␣if␣you␣need␣to:␣for␣dir␣in␣.//;␣...␣without␣having␣to␣worry␣␣␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣about␣checking␣[[␣-d␣"$dir"␛[K␍␊
14:17␣␛[90m<␣␛[mEarnest␛[90m>␣␛[m(Does␣mean␣your␣dir␣has␣trailing␣/␣in␣variable␣but␣meh)␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/node_modules␣node/node_modules/x␛[K␍␊
14:18␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m#␣mkdir␣-p␣node_modules/x␣node␣;␣cp␣-r␣node_modules/.␣node␣;␣echo␣node/␛[K␍␊
14:18␣␛[90m<␣␛[mshbot␛[90m>␣␛[mgeirha:␣node/␣node/x␛[K␍␊
14:19␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mPeople␣tend␣to␣not␣know␣this␣so␣they␣do␣cp␣-r␣node_modules/␣and␣then␣wonder␣where␣the␣"dotfiles"␣went␣␣␣␣␣␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mBut␣the␣concept␣of␣"dotfiles"␣was␣a␣feature/bug␣exclusive␣to␣ls(1)␣(in␣unix␣v2),␣but␣it␣has␣bled␣over␣the␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣years␣into␣other␣things,␣such␣as␣globs.␣␣Most␣tools␣don't␣regard␣dotfiles␣as␣special␛[K␍␊
14:20␣␛[90m<␣␛[mEarnest␛[90m>␣␛[mExcept␣for␣acknowledging␣the␣legacy␣of␣this␣fuckup␣in␣the␣form␣of␣a␣flag␣or␣some␣shit␛[K␍␊
14:21␣␛[90m<␣␛[mgeirha␛[90m>␣␛[m!hidden␛[K␍␊
14:21␣␛[90m<␣␛[mgreybot␛[90m>␣␛[mWhy␣files␣starting␣with␣dot␣(.)␣are␣"hidden":␣http://mywiki.wooledge.org/Hidden␛[K␍␊
14:21␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mread␣somewhere␣recently,␣that␣making␣dotfiles␣hidden␣was␣considered␣a␣mistake␛[K␍␊
14:21␣␛[90m<␣␛[mFriithian␛[90m>␣␛[mdotfiles␣are␣only␣really␣special␣in␣that␣they␣start␣with␣a␣dot…␣and␣that's␣about␣it.␣Some␣things␣just␣␣␣␣␍␊
␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣decided␣to␣not␣show␣files␣starting␣with␣a␣dot␛[K␍␊
14:23␣␛[90m<␣␛[93mEarnest␛[90m>␣␛[mSuperLag:␣It␣was␣a␣google␣plus␣post␣from␣rob␣pike;␣but␣since␣google␣plus␣is␣dead,␣here's␣a␣copy␣of␣it:␣␣␣␣␣␍␊
14:24␣␛[90m<␣␛[mdodo␛[90m>␣␛[mpeople␣who␣were␣there␣couldn't␣have␣different␣opinions?␣mkay␛[K␛[64;9H␛[?25h␛[?25l␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:25␛[36m]␊
␛[?25h␛[m␛[17;29;0;1;8;1_␛[65;30;1;1;8;1_␛[65;30;1;0;8;1_␛[?12l␛[30m␛[42m␍␊
[0]␣1:irssi*␣2:bash-␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:25␣12-Aug-22␛[64;9H␛[m␛[17;29;0;0;0;1_␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_␛[?1l␛>␛[?25l␛[H␛[?25h␛[2J␛[?12l␛[?1000l␛[?1002l␛[?1003l␛[?1006l␛[?1005l␛[?7727l␛[?25l␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[H␛[?25h␛[?1049l␛[23;0;0t␛[?2004h␛[?25lPowerShell␣7.2.6␛[K␍␊
Copyright␣(c)␣Microsoft␣Corporation.␛[K␍␊
␛[K␍␊
https://aka.ms/powershell␛[K␍␊
Type␣'help'␣to␣get␣help.␛[K␍␊
␛[K␍␊
Remember,␣the␣best␣angle␣to␣approach␣a␣problem␣from␣is␣the␣"try"␣angle.␛[K␍␊
␛[K␍␊
Loading␣personal␣and␣system␣profiles␣took␣892ms.␛[K␛[38;2;255;238;88m␍␊
␣␣␣␛[38;2;255;255;255mAaron␣Kulbe@kraken␣␛[38;2;145;221;255m␛[7m␛[38;2;16;14;35m␛[48;2;145;221;255m␛[27m␣
␣␛[38;2;145;221;255m␛[49m␣␛[93mssh␛[37m␛[40m␣irc␛[m␛[K␍␊␛[m$␣script␛[K␍␊Welcome␣to␣Ubuntu␣22.04.1␣LTS␣(GNU/Linux␣5.15.0-46-generic␣x86_64)␛[K␍␊
␛[K␍␊
␣␣Documentation:␣␣https://help.ubuntu.com␛[K␍␊
␣␣Management:␣␣␣␣␣https://landscape.canonical.com␛[K␍␊
␣␣Support:␣␣␣␣␣␣␣␣https://ubuntu.com/advantage␛[K␍␊
␛[K␍␊
␣␣System␣information␣as␣of␣Fri␣Aug␣12␣02:19:11␣PM␣PDT␣2022␛[K␍␊
␛[K␍␊
␣␣System␣load:␣␣0.0␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣Processes:␣␣␣␣␣␣␣␣␣␣␣␣␣125␛[K␍␊
␣␣Usage␣of␣/:␣␣␣71.2%␣of␣28.37GB␣␣␣Users␣logged␣in:␣␣␣␣␣␣␣1␛[K␍␊
␣␣Memory␣usage:␣27%␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣IPv4␣address␣for␣eth0:␣172.20.252.132␛[K␍␊
␣␣Swap␣usage:␣␣␣0%␛[K␍␊
␛[K␍␊
␣␣Super-optimized␣for␣small␣spaces␣-␣read␣how␣we␣shrank␣the␣memory␛[K␍␊
␣␣␣footprint␣of␣MicroK8s␣to␣make␣it␣the␣smallest␣full␣K8s␣around.␛[K␍␊
␛[K␍␊
␣␣␣https://ubuntu.com/blog/microk8s-memory-optimisation␛[K␍␊
␛[K␍␊
0␣updates␣can␣be␣applied␣immediately.␛[K␍␊
␛[K␍␊
␛[K␍␊
Last␣login:␣Fri␣Aug␣12␣14:12:17␣2022␣from␣172.20.252.10␛[K␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m
Script␣started,␣output␣log␣file␣is␣'typescript'.␛[K␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣tmux␣attach␣-d␛[K␍␊
[detached␣(from␣session␣0)]␛[K␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[37;19H␛[?25h␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[88;45;120;1;0;1_␛[88;45;120;0;0;1_x␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␛[?2004h␍␊
exit␍␊
Script␣done.␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[76;38;108;1;0;1_␛[76;38;108;0;0;1_l␛[83;31;115;1;0;1_␛[83;31;115;0;0;1_s␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␛[?2004h␛[34m␛[1m␍␊
foo␛[m␣␣␛[34m␛[1mirssi-1.4.1␛[m␣␣␛[31m␛[1mirssi-1.4.1.tar.xz␛[m␣␣␛[34m␛[1mirssi-1.4.2␛[m␣␣␛[31m␛[1mirssi-1.4.2.tar.xz␛[m␣␣␛[34m␛[1mold_irclogs␛[m␣␣␛[34m␛[1mold_irssi␛[m␣␣␛[34m␛[1mtmux␛[m␣␣typescript␣␣␛[34m␛[1mvcpatch␛[32m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[70;33;102;1;0;1_␛[70;33;102;0;0;1_f␛[73;23;105;1;0;1_␛[73;23;105;0;0;1_i␛[76;38;108;1;0;1_␛[76;38;108;0;0;1_l␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[89;21;121;1;0;1_␛[89;21;121;0;0;1_y␛[9;15;9;1;0;1_pescript␣␛[9;15;9;0;0;1_␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␍␊
␛[?2004htypescript:␣Unicode␣text,␣UTF-8␣text,␣with␣very␣long␣lines␣(1120),␣with␣CRLF,␣CR,␣LF␣line␣terminators,␣with␣escape␣sequences,␣with␣overstriking␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[76;38;108;1;0;1_␛[76;38;108;0;0;1_l␛[76;38;108;1;0;1_␛[76;38;108;0;0;1_l␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[189;12;45;1;0;1_␛[189;12;45;0;0;1_-␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␍␊
total␣2.5M␍␊
drwxr-x---␣14␣akulbe␣akulbe␣4.0K␣Aug␣12␣14:19␣␛[34m␛[1m.␛[m/␍␊
drwxr-xr-x␣␣3␣root␣␣␣root␣␣␣4.0K␣Jun␣17␣15:57␣␛[34m␛[1m..␛[m/␍␊
-rw-------␣␣1␣akulbe␣akulbe␣8.4K␣Aug␣12␣14:25␣.bash_history␍␊
-rw-r--r--␣␣1␣akulbe␣akulbe␣␣220␣Jan␣␣6␣␣2022␣.bash_logout␍␊
-rw-r--r--␣␣1␣akulbe␣akulbe␣3.7K␣Jan␣␣6␣␣2022␣.bashrc␍␊
drwx------␣␣2␣akulbe␣akulbe␣4.0K␣Jun␣17␣15:57␣␛[34m␛[1m.cache␛[m/␍␊
drwxrwxr-x␣␣3␣akulbe␣akulbe␣4.0K␣Jul␣␣1␣07:40␣␛[34m␛[1m.config␛[m/␍␊
drwxrwxr-x␣␣2␣akulbe␣akulbe␣4.0K␣Jul␣␣9␣07:57␣␛[34m␛[1mfoo␛[m/␍␊
drwxr-xr-x␣10␣akulbe␣akulbe␣4.0K␣Jun␣27␣09:29␣␛[34m␛[1m.irclogs␛[m/␍␊
drwxrwxr-x␣␣4␣akulbe␣akulbe␣4.0K␣Jul␣27␣06:29␣␛[34m␛[1m.irssi␛[m/␍␊
drwxr-xr-x␣11␣akulbe␣akulbe␣4.0K␣Jun␣17␣16:02␣␛[34m␛[1mirssi-1.4.1␛[m/␍␊
-rw-rw-r--␣␣1␣akulbe␣akulbe␣1.2M␣Jun␣␣6␣12:49␣␛[31m␛[1mirssi-1.4.1.tar.xz␛[m␍␊
drwxr-xr-x␣11␣akulbe␣akulbe␣4.0K␣Aug␣12␣09:07␣␛[34m␛[1mirssi-1.4.2␛[m/␍␊
-rw-rw-r--␣␣1␣akulbe␣akulbe␣1.2M␣Jul␣13␣11:23␣␛[31m␛[1mirssi-1.4.2.tar.xz␛[m␍␊
-rw-------␣␣1␣akulbe␣akulbe␣␣␣69␣Aug␣12␣11:10␣.lesshst␍␊
drwx------␣␣3␣akulbe␣akulbe␣4.0K␣Jun␣17␣16:08␣␛[34m␛[1mold_irclogs␛[m/␍␊
drwxrwxr-x␣␣3␣akulbe␣akulbe␣4.0K␣Jun␣17␣23:51␣␛[34m␛[1mold_irssi␛[m/␍␊
-rw-r--r--␣␣1␣akulbe␣akulbe␣␣807␣Jan␣␣6␣␣2022␣.profile␍␊
drwx------␣␣2␣akulbe␣akulbe␣4.0K␣Jul␣␣4␣13:12␣␛[34m␛[1m.ssh␛[m/␍␊
-rw-r--r--␣␣1␣akulbe␣akulbe␣␣␣␣0␣Jun␣17␣15:58␣.sudo_as_admin_successful␍␊
drwxrwxr-x␣13␣akulbe␣akulbe␣␣12K␣Aug␣11␣08:22␣␛[34m␛[1mtmux␛[m/␛[K␍␊
-rw-r--r--␣␣1␣akulbe␣akulbe␣␣452␣Aug␣12␣11:16␣.tmux.conf␍␊
-rw-rw-r--␣␣1␣akulbe␣akulbe␣␣58K␣Aug␣12␣14:25␣typescript␍␊
drwxrwxr-x␣␣4␣akulbe␣akulbe␣4.0K␣Jul␣23␣15:04␣␛[34m␛[1mvcpatch␛[m/␛[K␍␊
-rw-------␣␣1␣akulbe␣akulbe␣␣17K␣Aug␣12␣11:16␣.viminfo␍␊
-rw-rw-r--␣␣1␣akulbe␣akulbe␣␣165␣Aug␣12␣09:06␣.wget-hsts␍␊
-rw-------␣␣1␣akulbe␣akulbe␣␣␣53␣Aug␣11␣10:45␣.Xauthority␍␛[?2004h␊
␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␛[K␛[1C␛[O
@akulbe commented on GitHub (Aug 12, 2022):
typescript.txt
@DHowett renamed it from no extension to typescript.txt… hope that doesn't hose it up. I have the original still if I need to get it to you some other way.
@j4james commented on GitHub (Aug 12, 2022):
Yep. There's a
␛[8;65;124tnear the start of the first log.@akulbe commented on GitHub (Aug 12, 2022):
@j4james So I'm not sure what that means, exactly. (what @DHowett said for #2) 😂 ELI5, perhaps?
@DHowett commented on GitHub (Aug 12, 2022):
Dang @j4james, you're good. I missed that entirely! I found the
\e[22;0;0tlater and learned a thing or two, though.Hmm.
scriptbelieves the window to already be 124x65 in the second transcript... and I'm not seeing the same sequence over there.@akulbe commented on GitHub (Aug 12, 2022):
I am typically using it on a display that's in vertical orientation all the time. But this same behavior happens on my primary display too.
@akulbe commented on GitHub (Aug 12, 2022):
@DHowett commented on GitHub (Aug 12, 2022):
(I hid the long transcripts as "Outdated," but only so my browser would stop choking.)
I am seeing a lot of margin manipulation in the
scripttranscript, around the bottom of the screen for the purposes of manipulating the status line:@DHowett commented on GitHub (Aug 12, 2022):
Just live notes while I debug. Issue seems to be occurring around instances with timestamps starting around
14:23or14:24.@zadjii-msft commented on GitHub (Sep 6, 2023):
Looping back on this: https://lvb.io/@pdxmisfit/111018711030302856
OP said it was cool to close this out, since they moved to weechat. I dunno if we still want to dig in, but if none of us could repro it, then I'm not sure what else there is to do here.