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
Owner

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.

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.
Author
Owner

@zadjii-msft commented on GitHub (Aug 11, 2022):

@DHowett you're our resident irssi user

@zadjii-msft commented on GitHub (Aug 11, 2022): @DHowett you're our resident irssi user
Author
Owner

@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! 😂

@akulbe commented on GitHub (Aug 11, 2022): Oh dude… I am [this](https://xkcd.com/1782/) alllllllll the way. I registered my nickname on FreeNode (before it imploded) in 2003. Social networks come and go, but IRC IS FOREVER BABYYYYYY! 😂
Author
Owner

@DHowett commented on GitHub (Aug 12, 2022):

IRC IS FOREVER BABYYYYYY!

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:

  1. Somebody is using margins wrong
  2. Somebody is using the DTTERM window manipulation control sequences and resizing the backing console

Would you mind capturing a session in the debug tap? As well, would you grab the value of $TERM inside and outside of tmux?

@DHowett commented on GitHub (Aug 12, 2022): > IRC IS FOREVER BABYYYYYY! 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: 1. Somebody is using margins wrong 2. Somebody is using the DTTERM window manipulation control sequences and resizing the backing console Would you mind capturing a session in the [debug tap](https://github.com/microsoft/terminal/wiki/Enabling-the-debug-tap)? As well, would you grab the value of `$TERM` inside and outside of tmux?
Author
Owner

@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:

␛[?9001h␛[?1004h␛[I␛[?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␛[?25lWant␣to␣hear␣a␣chimney␣joke?␣Got␣stacks␣of␣em!␣First␣one's␣on␣the␣house␛[10;1HLoading␣personal␣and␣system␣profiles␣took␣803ms.␍␊
␛[?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␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[11;30H␛[?25h␛[8;65;124t␛[10;30H␛[?25l␛[93ms␛[38;5;238msh␣irc␛[10;31H␛[?25h␛[m␛[?25l␛[93m␈ss␛[38;5;238mh␣irc␛[10;32H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␣␛[38;5;238mirc␛[10;33H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣␛[38;5;238mirc␛[10;34H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣i␛[38;5;238mrc␛[10;35H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣ir␛[38;5;238mc␈␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣irc␛[38;5;238mr␈␛[?25h␛[m␛[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:04:33␣PM␣PDT␣2022␛[19;1H␣␣System␣load:␣␣0.0␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣Processes:␣␣␣␣␣␣␣␣␣␣␣␣␣123␍␊
␣␣Usage␣of␣/:␣␣␣71.2%␣of␣28.37GB␣␣␣Users␣logged␣in:␣␣␣␣␣␣␣1␍␊
␣␣Memory␣usage:␣26%␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣IPv4␣address␣for␣eth0:␣172.20.252.132␍␊
␣␣Swap␣usage:␣␣␣1%␛[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␣11:14:17␣2022␣from␣172.20.252.10␍␊
␛[?25h␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛]0;akulbe@chatter:␣~␇␛[O␛[Ie␈␛[1C␈␛[Kecho␣$TERM␛[?2004l␛[?2004h␍␊
xterm-256color␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣tmux␣attach␣-d␛[?2004l␍␊
␛[?1049h␛[22;0;0t␛[?1h␛=␛[2J␛[?12l␛[?1000l␛[?1002l␛[?1003l␛[?1006l␛[?1005l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[>q␛[?12l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊
[0]␣1:irssi*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[64;9H␛[?25h␛[?7727h␛[?25l␛[m␛[37m␛[44m␛[H␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣Stable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#rhel␛[m:␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣␣␣␣␣␣␛[3;11HStable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.10␣|␣pastebin:␣https://paste.centos.org␣|␣Add-on␣repos:␣EPEL,␣ELRepo,␣IUS␛[K␛[4;11Hcommunity␣|␣Free␣developer␣subscription:␣https://red.ht/1RQnKV4␣|␣Register␣to␣speak:␣/msg␣nickserv␣help␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mMerlinTHP␛[22m␣␛[90m[␛[m~merlinthp@centos/community/merlinthp␛[90m]␣[␛[mWed␣May␣18␣08:32:16␣2022␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#rhel␛[22m:␣Total␣of␣␛[1m230␛[22m␣nicks␣␛[90m[␛[m␛[1m1␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m229␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#rhel␣␛[mcreated␣Wed␣May␣19␣05:28:03␣2021␛[K␍␊
11:17␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mYep.␣Set␣it␣back␣to␣"tmux-256color"␣and␣the␣message␣(https://paste.centos.org/view/c2679c00)␣goes␣away.␣␣␣␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#rhel␛[22m␣was␣synced␣in␣␛[1m92␛[22m␣secs␛[K␍␊
11:20␣␛[90m<␣␛[93mAndyCap␛[90m>␣␛[mSuperLag:␣also␣the␣grey␣box␣at␣the␣top␣of␣the␣faq␣https://github.com/tmux/tmux/wiki/FAQ␛[K␍␊
11:20␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣FAQ␣·␣tmux/tmux␣Wiki␣·␣GitHub␛[K␍␊
11:31␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mffs␣redhat,␣why␣can't␣you␣just␣ship␣update-motd␣like␣everyone␣else␛[K␍␊
11:31␣␛[90m<␣␛[mmason␛[90m>␣␛[mNIH!␣NIH!␛[K␍␊
11:32␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mpam-motd␣is␣here,␣but␣I␣have␣to␣script␣everything␣to␣output␣myself.␛[K␍␊
11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[myou're␣putting␣yourself␣in␣motd?␛[K␍␊
11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[misn't␣it␣bad␣enough␣with␣clippy␛[K␍␊
11:44␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣s/everyone␣else/ubuntu/␛[K␍␊
11:44␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mOOOH,␣Thanks␣for␣reminding␣me.␛[K␍␊
11:45␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mAndyCap:␣it's␣in␣debian␣and␣a␣few␣others␣too␛[K␍␊
11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://wiki.debian.org/motd␣-␣looks␣like␣they␣now␣have␣a␣patch␣to␣pam-motd␛[K␍���
11:45␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣motd␣-␣Debian␣Wiki␛[K␍␊
11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣kinda?␛[K␍␊
11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"Ubuntu␣has␣a␣man␣page␣for␣a␣no␣longer␣existing␣update-motd␣executable␣which␣describes␣what␣pam_motd␣does␣␣␛[24;18Hin␣current␣versions␣of␣Debian."␛[K␍␊
11:46␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣maybe␣you␣can␣buy␣a␣time␣machine␣off␣of␣ebay␛[K␍␊
12:29␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mJesus␣F.␣Christ␣I␣am␣sick␣of␣hearing␣about␣Anne␣Heche.␛[K␍␊
12:34␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mOh,␣this␣is␣good.␣␣Politico␣got␣a␣view,␣allegedly,␣of␣the␣warrant.␣␣Trump's␣under␣investigation␣for␣␣␣␣␣␣␛[28;20Hpotential␣violations␣of␣the␣Espionage␣Act.␣Obstruction␣and␣removal␣and/or␣destruction␣of␣records.␣␣␣␣␣␣␣␣␍␊
12:35␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mThe␣official␣warrant␣is␣due␣to␣be␣unsealed␣later␣today.␛[K␍␊
12:35␣␛[90m<␣␛[mmason␛[90m>␣␛[mIt's␣notable␣that␣he's␣a␣very␣public␣criminal,␣because␣our␣system␣allows␣that␣now.␛[K␍␊
12:36␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"when␣you're␣famous␣they␣let␣you␣do␣it"␛[K␍␊
12:36␣␛[90m<␣␛[mmason␛[90m>␣␛[mGrab␣'em␣by␣the␣media.␛[K␍␊
12:37␣␛[90m<␣␛[mmason␛[90m>␣␛[mOr␣I␣guess␣now,␣grab␣'em␣by␣the␣scotus.␛[K␍␊
12:37␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://www.theatlantic.com/ideas/archive/2022/08/trump-fbi-raid-classified-nuclear-documents/671119/␣␣␣␣␣␣␍␊
12:37␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Not␣Even␣the␣President␣Can␣Declassify␣Nuclear␣Secrets␣-␣The␣Atlantic␛[K␍␊
12:45␣␛[90m<␣␛[msarnold␛[90m>␣␛[mhe␣can't␣just␣post␣em␣on␣the␣twitter?␛[K␍␊
12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mHow␣can␣you␣prove␣that␣you␣know␣cool␣secret␣stuff␣unless␣you␣share␣it␣a␣little?␛[K␍␊
12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mDocuments␣or␣it␣didn't␣happen!␛[K␍␊
13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mI'm␣a␣little␣pissed␣that␣trump␣and␣breitbart␣decided␣to␣dox␣a␣few␣FBI␣agents␛[K␍␊
13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mthat's␣not␣cool␛[K␍␊
13:17␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mPar␣for␣the␣course.␛[K␍␊
13:19␣␛[90m<␣␛[mEvolution␛[90m>␣␛[myeah.␣I'm␣not␣shocked,␣just␣angry␛[K␍␊
13:22␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣they're␣only␣getting␣started␛[K␍␊
13:23␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mrussia␣has␣entered␣the␣chat␛[K␍␊
https://www.thedailybeast.com/russian-state-media-airs-insane-offer-to-help-america-and-save-donald-trump?ref=wrap␛[K␍␊
13:23␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Russian␣State␣Media␣Airs␣Insane␣Offer␣to␣‘Help’␣America␣and␣‘Save’␣Donald␣Trump␛[K␍␊
13:52␣␛[90m<␣␛[msarnold␛[90m>␣␛[mthese␣guys␣used␣passive␣observation␣of␣failed␣tls␣handshakes␣to␣learn␣a␣private␣rsa␣key␣used␣by␣baidu␣␣␣␣␣␣␛[48;18Hhttps://www.usenix.org/system/files/sec22-sullivan.pdf␛[K␍␊
14:03␣␛[90m<␣␛[mComnenus␛[90m>␣␛[mmoving␣homeless␣children␣to␣russia␣is␣an␣odd␣idea␣for␣this...␛[K␍␊
14:04␣␛[90m<␣␛[mDoofusCanadensis␛[90m>␣␛[mneed␣more␣malleable␣minds␣to␣join␣the␣Russian␣Army␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:05␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m4:libera/#rhel(␛[36m+␛[37mCcnprt)␛[36m]␣[␛[37mAct:␣␛[97m2␛[36m,␛[?12l␛[m␛[97m␛[44m3␛[36m,␛[97m5␛[36m,␛[97m6␛[36m,␛[97m7␛[36m,␛[97m8␛[36m,␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#rhel]␛[K␛[1C␛[?25h␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊
[0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[H␛[?25h␛[?2004h␛[m␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣echo␣$TERM␛[?2004l␛[?2004h␍␊
tmux-256color␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[?12l␛[?25l␛[30m␛[42m␛[65;1H[0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:06␣12-Aug-22␛[3;19H␛[?25h␛[m␛[O
Original transcript
␛[?9001h␛[?1004h␛[18;56;0;1;3;1_␛[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_␛[?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;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;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[?25lWant␣to␣hear␣a␣chimney␣joke?␣Got␣stacks␣of␣em!␣First␣one's␣on␣the␣house␛[10;1HLoading␣personal␣and␣system␣profiles␣took␣803ms.␍␊
␛[?25h␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[?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␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␍␊
␛[K␛[11;30H␛[?25h␛[18;56;0;1;3;1_␛[18;56;0;0;2;1_␛[18;56;0;0;0;1_␛[8;65;124t␛[10;30H␛[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:04:33␣PM␣PDT␣2022␛[19;1H␣␣System␣load:␣␣0.0␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣Processes:␣␣␣␣␣␣␣␣␣␣␣␣␣123␍␊
␣␣Usage␣of␣/:␣␣␣71.2%␣of␣28.37GB␣␣␣Users␣logged␣in:␣␣␣␣␣␣␣1␍␊
␣␣Memory␣usage:␣26%␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣IPv4␣address␣for␣eth0:␣172.20.252.132␍␊
␣␣Swap␣usage:␣␣␣1%␛[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␣11:14:17␣2022␣from␣172.20.252.10␍␊
␛[?25h␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛]0;akulbe@chatter:␣~␇␛[O␛[I␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[37;75;0;1;256;1_␈␛[37;75;0;0;256;1_␛[39;77;0;1;256;1_␛[1C␛[39;77;0;0;256;1_␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␈␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[16;42;0;1;16;1_␛[52;5;36;1;16;1_␛[52;5;36;0;16;1_$␛[84;20;84;1;16;1_␛[84;20;84;0;16;1_T␛[69;18;69;1;16;1_␛[69;18;69;0;16;1_E␛[82;19;82;1;16;1_␛[82;19;82;0;16;1_R␛[77;50;77;1;16;1_␛[77;50;77;0;16;1_M␛[16;42;0;0;0;1_␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␛[?2004h␍␊
xterm-256color␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[77;50;109;1;0;1_␛[77;50;109;0;0;1_m␛[85;22;117;1;0;1_␛[85;22;117;0;0;1_u␛[88;45;120;1;0;1_␛[88;45;120;0;0;1_x␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[189;12;45;1;0;1_␛[189;12;45;0;0;1_-␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␍␊
␛[?1049h␛[22;0;0t␛[?1h␛=␛[2J␛[?12l␛[?1000l␛[?1002l␛[?1003l␛[?1006l␛[?1005l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[>q␛[?12l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊
[0]␣1:irssi*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[64;9H␛[?25h␛[?7727h␛[?25l␛[m␛[37m␛[44m␛[H␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣Stable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#rhel␛[m:␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣␣␣␣␣␣␛[3;11HStable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.10␣|␣pastebin:␣https://paste.centos.org␣|␣Add-on␣repos:␣EPEL,␣ELRepo,␣IUS␛[K␛[4;11Hcommunity␣|␣Free␣developer␣subscription:␣https://red.ht/1RQnKV4␣|␣Register␣to␣speak:␣/msg␣nickserv␣help␛[K␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mMerlinTHP␛[22m␣␛[90m[␛[m~merlinthp@centos/community/merlinthp␛[90m]␣[␛[mWed␣May␣18␣08:32:16␣2022␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#rhel␛[22m:␣Total␣of␣␛[1m230␛[22m␣nicks␣␛[90m[␛[m␛[1m1␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m229␛[22m␣normal␛[90m]␛[K␛[m␍␊
11:16␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#rhel␣␛[mcreated␣Wed␣May␣19␣05:28:03␣2021␛[K␍␊
11:17␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mYep.␣Set␣it␣back␣to␣"tmux-256color"␣and␣the␣message␣(https://paste.centos.org/view/c2679c00)␣goes␣away.␣␣␣␍␊
11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#rhel␛[22m␣was␣synced␣in␣␛[1m92␛[22m␣secs␛[K␍␊
11:20␣␛[90m<␣␛[93mAndyCap␛[90m>␣␛[mSuperLag:␣also␣the␣grey␣box␣at␣the␣top␣of␣the␣faq␣https://github.com/tmux/tmux/wiki/FAQ␛[K␍␊
11:20␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣FAQ␣·␣tmux/tmux␣Wiki␣·␣GitHub␛[K␍␊
11:31␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mffs␣redhat,␣why␣can't␣you␣just␣ship␣update-motd␣like␣everyone␣else␛[K␍␊
11:31␣␛[90m<␣␛[mmason␛[90m>␣␛[mNIH!␣NIH!␛[K␍␊
11:32␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mpam-motd␣is␣here,␣but␣I␣have␣to␣script␣everything␣to␣output␣myself.␛[K␍␊
11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[myou're␣putting␣yourself␣in␣motd?␛[K␍␊
11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[misn't␣it␣bad␣enough␣with␣clippy␛[K␍␊
11:44␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣s/everyone␣else/ubuntu/␛[K␍␊
11:44␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mOOOH,␣Thanks␣for␣reminding␣me.␛[K␍␊
11:45␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mAndyCap:␣it's␣in␣debian␣and␣a␣few␣others␣too␛[K␍␊
11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://wiki.debian.org/motd␣-␣looks␣like␣they␣now␣have␣a␣patch␣to␣pam-motd␛[K␍␊
11:45␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣motd␣-␣Debian␣Wiki␛[K␍␊
11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣kinda?␛[K␍␊
11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"Ubuntu␣has␣a␣man␣page␣for␣a␣no␣longer␣existing␣update-motd␣executable␣which␣describes␣what␣pam_motd␣does␣␣␛[24;18Hin␣current␣versions␣of␣Debian."␛[K␍␊
11:46␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣maybe␣you␣can␣buy␣a␣time␣machine␣off␣of␣ebay␛[K␍␊
12:29␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mJesus␣F.␣Christ␣I␣am␣sick␣of␣hearing␣about␣Anne␣Heche.␛[K␍␊
12:34␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mOh,␣this␣is␣good.␣␣Politico␣got␣a␣view,␣allegedly,␣of␣the␣warrant.␣␣Trump's␣under␣investigation␣for␣␣␣␣␣␣␛[28;20Hpotential␣violations␣of␣the␣Espionage␣Act.␣Obstruction␣and␣removal␣and/or␣destruction␣of␣records.␣␣␣␣␣␣␣␣␍␊
12:35␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mThe␣official␣warrant␣is␣due␣to␣be␣unsealed␣later␣today.␛[K␍␊
12:35␣␛[90m<␣␛[mmason␛[90m>␣␛[mIt's␣notable␣that␣he's␣a␣very␣public␣criminal,␣because␣our␣system␣allows␣that␣now.␛[K␍␊
12:36␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"when␣you're␣famous␣they␣let␣you␣do␣it"␛[K␍␊
12:36␣␛[90m<␣␛[mmason␛[90m>␣␛[mGrab␣'em␣by␣the␣media.␛[K␍␊
12:37␣␛[90m<␣␛[mmason␛[90m>␣␛[mOr␣I␣guess␣now,␣grab␣'em␣by␣the␣scotus.␛[K␍␊
12:37␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://www.theatlantic.com/ideas/archive/2022/08/trump-fbi-raid-classified-nuclear-documents/671119/␣␣␣␣␣␣␍␊
12:37␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Not␣Even␣the␣President␣Can␣Declassify␣Nuclear␣Secrets␣-␣The␣Atlantic␛[K␍␊
12:45␣␛[90m<␣␛[msarnold␛[90m>␣␛[mhe␣can't␣just␣post␣em␣on␣the␣twitter?␛[K␍␊
12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mHow␣can␣you␣prove␣that␣you␣know␣cool␣secret␣stuff␣unless␣you␣share␣it␣a␣little?␛[K␍␊
12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mDocuments␣or␣it␣didn't␣happen!␛[K␍␊
13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mI'm␣a␣little␣pissed␣that␣trump␣and␣breitbart␣decided␣to␣dox␣a␣few␣FBI␣agents␛[K␍␊
13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mthat's␣not␣cool␛[K␍␊
13:17␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mPar␣for␣the␣course.␛[K␍␊
13:19␣␛[90m<␣␛[mEvolution␛[90m>␣␛[myeah.␣I'm␣not␣shocked,␣just␣angry␛[K␍␊
13:22␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣they're␣only␣getting␣started␛[K␍␊
13:23␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mrussia␣has␣entered␣the␣chat␛[K␍␊
https://www.thedailybeast.com/russian-state-media-airs-insane-offer-to-help-america-and-save-donald-trump?ref=wrap␛[K␍␊
13:23␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Russian␣State␣Media␣Airs␣Insane␣Offer␣to␣‘Help’␣America␣and␣‘Save’␣Donald␣Trump␛[K␍␊
13:52␣␛[90m<␣␛[msarnold␛[90m>␣␛[mthese␣guys␣used␣passive␣observation␣of␣failed␣tls␣handshakes␣to␣learn␣a␣private␣rsa␣key␣used␣by␣baidu␣␣␣␣␣␣␛[48;18Hhttps://www.usenix.org/system/files/sec22-sullivan.pdf␛[K␍␊
14:03␣␛[90m<␣␛[mComnenus␛[90m>␣␛[mmoving␣homeless␣children␣to␣russia␣is␣an␣odd␣idea␣for␣this...␛[K␍␊
14:04␣␛[90m<␣␛[mDoofusCanadensis␛[90m>␣␛[mneed␣more␣malleable␣minds␣to␣join␣the␣Russian␣Army␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:05␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m4:libera/#rhel(␛[36m+␛[37mCcnprt)␛[36m]␣[␛[37mAct:␣␛[97m2␛[36m,␛[?12l␛[m␛[97m␛[44m3␛[36m,␛[97m5␛[36m,␛[97m6␛[36m,␛[97m7␛[36m,␛[97m8␛[36m,␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#rhel]␛[K␛[1C␛[?25h␛[17;29;0;1;8;1_␛[65;30;1;1;8;1_␛[65;30;1;0;8;1_␛[17;29;0;0;0;1_␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊
[0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[H␛[?25h␛[?2004h␛[m␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[52;5;36;1;16;1_␛[52;5;36;0;16;1_$␛[16;54;0;0;256;1_␛[16;42;0;1;16;1_␛[84;20;84;1;16;1_␛[84;20;84;0;16;1_T␛[69;18;69;1;16;1_␛[69;18;69;0;16;1_E␛[82;19;82;1;16;1_␛[82;19;82;0;16;1_R␛[77;50;77;1;16;1_␛[77;50;77;0;16;1_M␛[16;42;0;0;0;1_␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␛[?2004h␍␊
tmux-256color␛[32m␛[1m␍␊
akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[?12l␛[?25l␛[30m␛[42m␛[65;1H[0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:06␣12-Aug-22␛[3;19H␛[?25h␛[m␛[O
@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: ``` ␛[?9001h␛[?1004h␛[I␛[?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␛[?25lWant␣to␣hear␣a␣chimney␣joke?␣Got␣stacks␣of␣em!␣First␣one's␣on␣the␣house␛[10;1HLoading␣personal␣and␣system␣profiles␣took␣803ms.␍␊ ␛[?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␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␛[11;30H␛[?25h␛[8;65;124t␛[10;30H␛[?25l␛[93ms␛[38;5;238msh␣irc␛[10;31H␛[?25h␛[m␛[?25l␛[93m␈ss␛[38;5;238mh␣irc␛[10;32H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␣␛[38;5;238mirc␛[10;33H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣␛[38;5;238mirc␛[10;34H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣i␛[38;5;238mrc␛[10;35H␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣ir␛[38;5;238mc␈␛[?25h␛[m␛[?25l␛[93m␛[10;30Hssh␛[37m␛[40m␣irc␛[38;5;238mr␈␛[?25h␛[m␛[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:04:33␣PM␣PDT␣2022␛[19;1H␣␣System␣load:␣␣0.0␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣Processes:␣␣␣␣␣␣␣␣␣␣␣␣␣123␍␊ ␣␣Usage␣of␣/:␣␣␣71.2%␣of␣28.37GB␣␣␣Users␣logged␣in:␣␣␣␣␣␣␣1␍␊ ␣␣Memory␣usage:␣26%␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣IPv4␣address␣for␣eth0:␣172.20.252.132␍␊ ␣␣Swap␣usage:␣␣␣1%␛[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␣11:14:17␣2022␣from␣172.20.252.10␍␊ ␛[?25h␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛]0;akulbe@chatter:␣~␇␛[O␛[Ie␈␛[1C␈␛[Kecho␣$TERM␛[?2004l␛[?2004h␍␊ xterm-256color␛[32m␛[1m␍␊ akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣tmux␣attach␣-d␛[?2004l␍␊ ␛[?1049h␛[22;0;0t␛[?1h␛=␛[2J␛[?12l␛[?1000l␛[?1002l␛[?1003l␛[?1006l␛[?1005l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[>q␛[?12l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊ [0]␣1:irssi*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[64;9H␛[?25h␛[?7727h␛[?25l␛[m␛[37m␛[44m␛[H␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣Stable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#rhel␛[m:␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣␣␣␣␣␣␛[3;11HStable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.10␣|␣pastebin:␣https://paste.centos.org␣|␣Add-on␣repos:␣EPEL,␣ELRepo,␣IUS␛[K␛[4;11Hcommunity␣|␣Free␣developer␣subscription:␣https://red.ht/1RQnKV4␣|␣Register␣to␣speak:␣/msg␣nickserv␣help␛[K␍␊ 11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mMerlinTHP␛[22m␣␛[90m[␛[m~merlinthp@centos/community/merlinthp␛[90m]␣[␛[mWed␣May␣18␣08:32:16␣2022␛[90m]␛[K␛[m␍␊ 11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#rhel␛[22m:␣Total␣of␣␛[1m230␛[22m␣nicks␣␛[90m[␛[m␛[1m1␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m229␛[22m␣normal␛[90m]␛[K␛[m␍␊ 11:16␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#rhel␣␛[mcreated␣Wed␣May␣19␣05:28:03␣2021␛[K␍␊ 11:17␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mYep.␣Set␣it␣back␣to␣"tmux-256color"␣and␣the␣message␣(https://paste.centos.org/view/c2679c00)␣goes␣away.␣␣␣␍␊ 11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#rhel␛[22m␣was␣synced␣in␣␛[1m92␛[22m␣secs␛[K␍␊ 11:20␣␛[90m<␣␛[93mAndyCap␛[90m>␣␛[mSuperLag:␣also␣the␣grey␣box␣at␣the␣top␣of␣the␣faq␣https://github.com/tmux/tmux/wiki/FAQ␛[K␍␊ 11:20␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣FAQ␣·␣tmux/tmux␣Wiki␣·␣GitHub␛[K␍␊ 11:31␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mffs␣redhat,␣why␣can't␣you␣just␣ship␣update-motd␣like␣everyone␣else␛[K␍␊ 11:31␣␛[90m<␣␛[mmason␛[90m>␣␛[mNIH!␣NIH!␛[K␍␊ 11:32␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mpam-motd␣is␣here,␣but␣I␣have␣to␣script␣everything␣to␣output␣myself.␛[K␍␊ 11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[myou're␣putting␣yourself␣in␣motd?␛[K␍␊ 11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[misn't␣it␣bad␣enough␣with␣clippy␛[K␍␊ 11:44␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣s/everyone␣else/ubuntu/␛[K␍␊ 11:44␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mOOOH,␣Thanks␣for␣reminding␣me.␛[K␍␊ 11:45␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mAndyCap:␣it's␣in␣debian␣and␣a␣few␣others␣too␛[K␍␊ 11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://wiki.debian.org/motd␣-␣looks␣like␣they␣now␣have␣a␣patch␣to␣pam-motd␛[K␍��� 11:45␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣motd␣-␣Debian␣Wiki␛[K␍␊ 11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣kinda?␛[K␍␊ 11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"Ubuntu␣has␣a␣man␣page␣for␣a␣no␣longer␣existing␣update-motd␣executable␣which␣describes␣what␣pam_motd␣does␣␣␛[24;18Hin␣current␣versions␣of␣Debian."␛[K␍␊ 11:46␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣maybe␣you␣can␣buy␣a␣time␣machine␣off␣of␣ebay␛[K␍␊ 12:29␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mJesus␣F.␣Christ␣I␣am␣sick␣of␣hearing␣about␣Anne␣Heche.␛[K␍␊ 12:34␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mOh,␣this␣is␣good.␣␣Politico␣got␣a␣view,␣allegedly,␣of␣the␣warrant.␣␣Trump's␣under␣investigation␣for␣␣␣␣␣␣␛[28;20Hpotential␣violations␣of␣the␣Espionage␣Act.␣Obstruction␣and␣removal␣and/or␣destruction␣of␣records.␣␣␣␣␣␣␣␣␍␊ 12:35␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mThe␣official␣warrant␣is␣due␣to␣be␣unsealed␣later␣today.␛[K␍␊ 12:35␣␛[90m<␣␛[mmason␛[90m>␣␛[mIt's␣notable␣that␣he's␣a␣very␣public␣criminal,␣because␣our␣system␣allows␣that␣now.␛[K␍␊ 12:36␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"when␣you're␣famous␣they␣let␣you␣do␣it"␛[K␍␊ 12:36␣␛[90m<␣␛[mmason␛[90m>␣␛[mGrab␣'em␣by␣the␣media.␛[K␍␊ 12:37␣␛[90m<␣␛[mmason␛[90m>␣␛[mOr␣I␣guess␣now,␣grab␣'em␣by␣the␣scotus.␛[K␍␊ 12:37␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://www.theatlantic.com/ideas/archive/2022/08/trump-fbi-raid-classified-nuclear-documents/671119/␣␣␣␣␣␣␍␊ 12:37␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Not␣Even␣the␣President␣Can␣Declassify␣Nuclear␣Secrets␣-␣The␣Atlantic␛[K␍␊ 12:45␣␛[90m<␣␛[msarnold␛[90m>␣␛[mhe␣can't␣just␣post␣em␣on␣the␣twitter?␛[K␍␊ 12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mHow␣can␣you␣prove␣that␣you␣know␣cool␣secret␣stuff␣unless␣you␣share␣it␣a␣little?␛[K␍␊ 12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mDocuments␣or␣it␣didn't␣happen!␛[K␍␊ 13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mI'm␣a␣little␣pissed␣that␣trump␣and␣breitbart␣decided␣to␣dox␣a␣few␣FBI␣agents␛[K␍␊ 13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mthat's␣not␣cool␛[K␍␊ 13:17␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mPar␣for␣the␣course.␛[K␍␊ 13:19␣␛[90m<␣␛[mEvolution␛[90m>␣␛[myeah.␣I'm␣not␣shocked,␣just␣angry␛[K␍␊ 13:22␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣they're␣only␣getting␣started␛[K␍␊ 13:23␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mrussia␣has␣entered␣the␣chat␛[K␍␊ https://www.thedailybeast.com/russian-state-media-airs-insane-offer-to-help-america-and-save-donald-trump?ref=wrap␛[K␍␊ 13:23␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Russian␣State␣Media␣Airs␣Insane␣Offer␣to␣‘Help’␣America␣and␣‘Save’␣Donald␣Trump␛[K␍␊ 13:52␣␛[90m<␣␛[msarnold␛[90m>␣␛[mthese␣guys␣used␣passive␣observation␣of␣failed␣tls␣handshakes␣to␣learn␣a␣private␣rsa␣key␣used␣by␣baidu␣␣␣␣␣␣␛[48;18Hhttps://www.usenix.org/system/files/sec22-sullivan.pdf␛[K␍␊ 14:03␣␛[90m<␣␛[mComnenus␛[90m>␣␛[mmoving␣homeless␣children␣to␣russia␣is␣an␣odd␣idea␣for␣this...␛[K␍␊ 14:04␣␛[90m<␣␛[mDoofusCanadensis␛[90m>␣␛[mneed␣more␣malleable␣minds␣to␣join␣the␣Russian␣Army␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:05␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m4:libera/#rhel(␛[36m+␛[37mCcnprt)␛[36m]␣[␛[37mAct:␣␛[97m2␛[36m,␛[?12l␛[m␛[97m␛[44m3␛[36m,␛[97m5␛[36m,␛[97m6␛[36m,␛[97m7␛[36m,␛[97m8␛[36m,␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#rhel]␛[K␛[1C␛[?25h␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊ [0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[H␛[?25h␛[?2004h␛[m␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣echo␣$TERM␛[?2004l␛[?2004h␍␊ tmux-256color␛[32m␛[1m␍␊ akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[?12l␛[?25l␛[30m␛[42m␛[65;1H[0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:06␣12-Aug-22␛[3;19H␛[?25h␛[m␛[O ``` <details> <summary>Original transcript</summary> ``` ␛[?9001h␛[?1004h␛[18;56;0;1;3;1_␛[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_␛[?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;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;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[?25lWant␣to␣hear␣a␣chimney␣joke?␣Got␣stacks␣of␣em!␣First␣one's␣on␣the␣house␛[10;1HLoading␣personal␣and␣system␣profiles␣took␣803ms.␍␊ ␛[?25h␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[18;56;0;1;3;1_␛[?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␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␍␊ ␛[K␛[11;30H␛[?25h␛[18;56;0;1;3;1_␛[18;56;0;0;2;1_␛[18;56;0;0;0;1_␛[8;65;124t␛[10;30H␛[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:04:33␣PM␣PDT␣2022␛[19;1H␣␣System␣load:␣␣0.0␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣Processes:␣␣␣␣␣␣␣␣␣␣␣␣␣123␍␊ ␣␣Usage␣of␣/:␣␣␣71.2%␣of␣28.37GB␣␣␣Users␣logged␣in:␣␣␣␣␣␣␣1␍␊ ␣␣Memory␣usage:␣26%␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣IPv4␣address␣for␣eth0:␣172.20.252.132␍␊ ␣␣Swap␣usage:␣␣␣1%␛[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␣11:14:17␣2022␣from␣172.20.252.10␍␊ ␛[?25h␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛]0;akulbe@chatter:␣~␇␛[O␛[I␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[37;75;0;1;256;1_␈␛[37;75;0;0;256;1_␛[39;77;0;1;256;1_␛[1C␛[39;77;0;0;256;1_␛[8;14;8;1;0;1_␛[8;14;8;0;0;1_␈␛[K␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[16;42;0;1;16;1_␛[52;5;36;1;16;1_␛[52;5;36;0;16;1_$␛[84;20;84;1;16;1_␛[84;20;84;0;16;1_T␛[69;18;69;1;16;1_␛[69;18;69;0;16;1_E␛[82;19;82;1;16;1_␛[82;19;82;0;16;1_R␛[77;50;77;1;16;1_␛[77;50;77;0;16;1_M␛[16;42;0;0;0;1_␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␛[?2004h␍␊ xterm-256color␛[32m␛[1m␍␊ akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[77;50;109;1;0;1_␛[77;50;109;0;0;1_m␛[85;22;117;1;0;1_␛[85;22;117;0;0;1_u␛[88;45;120;1;0;1_␛[88;45;120;0;0;1_x␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[84;20;116;1;0;1_␛[84;20;116;0;0;1_t␛[65;30;97;1;0;1_␛[65;30;97;0;0;1_a␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[189;12;45;1;0;1_␛[189;12;45;0;0;1_-␛[68;32;100;1;0;1_␛[68;32;100;0;0;1_d␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␍␊ ␛[?1049h␛[22;0;0t␛[?1h␛=␛[2J␛[?12l␛[?1000l␛[?1002l␛[?1003l␛[?1006l␛[?1005l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[>q␛[?12l␛[?12l␛[?1006l␛[?1000l␛[?1002l␛[?1003l␛[?2004l␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊ [0]␣1:irssi*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[64;9H␛[?25h␛[?7727h␛[?25l␛[m␛[37m␛[44m␛[H␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣Stable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.␛[m11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣for␣␛[36m#rhel␛[m:␣Welcome␣to␣#rhel␣on␣libera.chat␣|␣Red␣Hat␣Enterprise␣Linux␣(RHEL)␣Discussion␣[unofficial]␣|␣␣␣␣␣␣␛[3;11HStable:␣9.0,␣8.6,␣7.9␣|␣ELS:␣6.10␣|␣pastebin:␣https://paste.centos.org␣|␣Add-on␣repos:␣EPEL,␣ELRepo,␣IUS␛[K␛[4;11Hcommunity␣|␣Free␣developer␣subscription:␣https://red.ht/1RQnKV4␣|␣Register␣to␣speak:␣/msg␣nickserv␣help␛[K␍␊ 11:16␣␛[94m-␛[m!␛[94m-␣␛[mTopic␣set␣by␣␛[1mMerlinTHP␛[22m␣␛[90m[␛[m~merlinthp@centos/community/merlinthp␛[90m]␣[␛[mWed␣May␣18␣08:32:16␣2022␛[90m]␛[K␛[m␍␊ 11:16␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣␛[1m#rhel␛[22m:␣Total␣of␣␛[1m230␛[22m␣nicks␣␛[90m[␛[m␛[1m1␛[22m␣ops,␣␛[1m0␛[22m␣halfops,␣␛[1m0␛[22m␣voices,␣␛[1m229␛[22m␣normal␛[90m]␛[K␛[m␍␊ 11:16␣␛[94m-␛[m!␛[94m-␣␛[mChannel␣␛[36m#rhel␣␛[mcreated␣Wed␣May␣19␣05:28:03␣2021␛[K␍␊ 11:17␣␛[90m<␣␛[m␛[1mSuperLag␛[90m␛[22m>␣␛[mYep.␣Set␣it␣back␣to␣"tmux-256color"␣and␣the␣message␣(https://paste.centos.org/view/c2679c00)␣goes␣away.␣␣␣␍␊ 11:18␣␛[94m-␛[m!␛[94m-␣␛[m␛[1mIrssi:␛[22m␣Join␣to␣␛[1m#rhel␛[22m␣was␣synced␣in␣␛[1m92␛[22m␣secs␛[K␍␊ 11:20␣␛[90m<␣␛[93mAndyCap␛[90m>␣␛[mSuperLag:␣also␣the␣grey␣box␣at␣the␣top␣of␣the␣faq␣https://github.com/tmux/tmux/wiki/FAQ␛[K␍␊ 11:20␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣FAQ␣·␣tmux/tmux␣Wiki␣·␣GitHub␛[K␍␊ 11:31␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mffs␣redhat,␣why␣can't␣you␣just␣ship␣update-motd␣like␣everyone␣else␛[K␍␊ 11:31␣␛[90m<␣␛[mmason␛[90m>␣␛[mNIH!␣NIH!␛[K␍␊ 11:32␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mpam-motd␣is␣here,␣but␣I␣have␣to␣script␣everything␣to␣output␣myself.␛[K␍␊ 11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[myou're␣putting␣yourself␣in␣motd?␛[K␍␊ 11:43␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[misn't␣it␣bad␣enough␣with␣clippy␛[K␍␊ 11:44␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣s/everyone␣else/ubuntu/␛[K␍␊ 11:44␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mOOOH,␣Thanks␣for␣reminding␣me.␛[K␍␊ 11:45␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mAndyCap:␣it's␣in␣debian␣and␣a␣few␣others␣too␛[K␍␊ 11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://wiki.debian.org/motd␣-␣looks␣like␣they␣now␣have␣a␣patch␣to␣pam-motd␛[K␍␊ 11:45␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣motd␣-␣Debian␣Wiki␛[K␍␊ 11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣kinda?␛[K␍␊ 11:45␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"Ubuntu␣has␣a␣man␣page␣for␣a␣no␣longer␣existing␣update-motd␣executable␣which␣describes␣what␣pam_motd␣does␣␣␛[24;18Hin␣current␣versions␣of␣Debian."␛[K␍␊ 11:46␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣maybe␣you␣can␣buy␣a␣time␣machine␣off␣of␣ebay␛[K␍␊ 12:29␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mJesus␣F.␣Christ␣I␣am␣sick␣of␣hearing␣about␣Anne␣Heche.␛[K␍␊ 12:34␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mOh,␣this␣is␣good.␣␣Politico␣got␣a␣view,␣allegedly,␣of␣the␣warrant.␣␣Trump's␣under␣investigation␣for␣␣␣␣␣␣␛[28;20Hpotential␣violations␣of␣the␣Espionage␣Act.␣Obstruction␣and␣removal␣and/or␣destruction␣of␣records.␣␣␣␣␣␣␣␣␍␊ 12:35␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mThe␣official␣warrant␣is␣due␣to␣be␣unsealed␣later␣today.␛[K␍␊ 12:35␣␛[90m<␣␛[mmason␛[90m>␣␛[mIt's␣notable␣that␣he's␣a␣very␣public␣criminal,␣because␣our␣system␣allows␣that␣now.␛[K␍␊ 12:36␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[m"when␣you're␣famous␣they␣let␣you␣do␣it"␛[K␍␊ 12:36␣␛[90m<␣␛[mmason␛[90m>␣␛[mGrab␣'em␣by␣the␣media.␛[K␍␊ 12:37␣␛[90m<␣␛[mmason␛[90m>␣␛[mOr␣I␣guess␣now,␣grab␣'em␣by␣the␣scotus.␛[K␍␊ 12:37␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mhttps://www.theatlantic.com/ideas/archive/2022/08/trump-fbi-raid-classified-nuclear-documents/671119/␣␣␣␣␣␣␍␊ 12:37␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Not␣Even␣the␣President␣Can␣Declassify␣Nuclear␣Secrets␣-␣The␣Atlantic␛[K␍␊ 12:45␣␛[90m<␣␛[msarnold␛[90m>␣␛[mhe␣can't␣just␣post␣em␣on␣the␣twitter?␛[K␍␊ 12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mHow␣can␣you␣prove␣that␣you␣know␣cool␣secret␣stuff␣unless␣you␣share␣it␣a␣little?␛[K␍␊ 12:50␣␛[90m<␣␛[mmason␛[90m>␣␛[mDocuments␣or␣it␣didn't␣happen!␛[K␍␊ 13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mI'm␣a␣little␣pissed␣that␣trump␣and␣breitbart␣decided␣to␣dox␣a␣few␣FBI␣agents␛[K␍␊ 13:16␣␛[90m<␣␛[mEvolution␛[90m>␣␛[mthat's␣not␣cool␛[K␍␊ 13:17␣␛[90m<␣␛[mBahhumbug␛[90m>␣␛[mPar␣for␣the␣course.␛[K␍␊ 13:19␣␛[90m<␣␛[mEvolution␛[90m>␣␛[myeah.␣I'm␣not␣shocked,␣just␣angry␛[K␍␊ 13:22␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mEvolution:␣they're␣only␣getting␣started␛[K␍␊ 13:23␣␛[90m<␣␛[mAndyCap␛[90m>␣␛[mrussia␣has␣entered␣the␣chat␛[K␍␊ https://www.thedailybeast.com/russian-state-media-airs-insane-offer-to-help-america-and-save-donald-trump?ref=wrap␛[K␍␊ 13:23␣␛[90m<␣␛[mfedbot␛[90m>␣␛[m^␣Russian␣State␣Media␣Airs␣Insane␣Offer␣to␣‘Help’␣America␣and␣‘Save’␣Donald␣Trump␛[K␍␊ 13:52␣␛[90m<␣␛[msarnold␛[90m>␣␛[mthese␣guys␣used␣passive␣observation␣of␣failed␣tls␣handshakes␣to␣learn␣a␣private␣rsa␣key␣used␣by␣baidu␣␣␣␣␣␣␛[48;18Hhttps://www.usenix.org/system/files/sec22-sullivan.pdf␛[K␍␊ 14:03␣␛[90m<␣␛[mComnenus␛[90m>␣␛[mmoving␣homeless␣children␣to␣russia␣is␣an␣odd␣idea␣for␣this...␛[K␍␊ 14:04␣␛[90m<␣␛[mDoofusCanadensis␛[90m>␣␛[mneed␣more␣malleable␣minds␣to␣join␣the␣Russian␣Army␛[K␛[37m␛[44m␛[63;1H␣␛[36m[␛[37m14:05␛[36m]␣[␛[37mSuperLag(␛[36m+␛[37mZiw)␛[36m]␣[␛[37m4:libera/#rhel(␛[36m+␛[37mCcnprt)␛[36m]␣[␛[37mAct:␣␛[97m2␛[36m,␛[?12l␛[m␛[97m␛[44m3␛[36m,␛[97m5␛[36m,␛[97m6␛[36m,␛[97m7␛[36m,␛[97m8␛[36m,␛[97m9␛[36m,10,␛[97m11␛[36m,␛[97m12␛[36m,13,14,␛[97m15␛[36m,␛[97m16␛[36m,␛[97m17␛[36m,␛[97m18␛[36m,␛[97m19␛[36m,20]␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␛[K␛[m[#rhel]␛[K␛[1C␛[?25h␛[17;29;0;1;8;1_␛[65;30;1;1;8;1_␛[65;30;1;0;8;1_␛[17;29;0;0;0;1_␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_␛[?12l␛[?25l␛[H␛[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␛[30m␛[42m␍␊ [0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:05␣12-Aug-22␛[H␛[?25h␛[?2004h␛[m␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[69;18;101;1;0;1_␛[69;18;101;0;0;1_e␛[67;46;99;1;0;1_␛[67;46;99;0;0;1_c␛[72;35;104;1;0;1_␛[72;35;104;0;0;1_h␛[79;24;111;1;0;1_␛[79;24;111;0;0;1_o␛[32;57;32;1;0;1_␛[32;57;32;0;0;1_␣␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[16;54;0;1;272;1_␛[52;5;36;1;16;1_␛[52;5;36;0;16;1_$␛[16;54;0;0;256;1_␛[16;42;0;1;16;1_␛[84;20;84;1;16;1_␛[84;20;84;0;16;1_T␛[69;18;69;1;16;1_␛[69;18;69;0;16;1_E␛[82;19;82;1;16;1_␛[82;19;82;0;16;1_R␛[77;50;77;1;16;1_␛[77;50;77;0;16;1_M␛[16;42;0;0;0;1_␛[13;28;13;1;0;1_␛[13;28;13;0;0;1_␛[?2004l␛[?2004h␍␊ tmux-256color␛[32m␛[1m␍␊ akulbe@chatter␛[m:␛[34m␛[1m~␛[m$␣␛[?12l␛[?25l␛[30m␛[42m␛[65;1H[0]␣1:irssi-␣2:bash*␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣"chatter"␣14:06␣12-Aug-22␛[3;19H␛[?25h␛[m␛[O ``` </details>
Author
Owner

@akulbe commented on GitHub (Aug 12, 2022):

inside and outside tmux, the value of $TERM is xterm-256color

@akulbe commented on GitHub (Aug 12, 2022): inside and outside tmux, the value of `$TERM` is `xterm-256color`
Author
Owner

@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? 😬

@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? 😬
Author
Owner

@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...

@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...
Author
Owner

@akulbe commented on GitHub (Aug 12, 2022):

Coming right up.

@akulbe commented on GitHub (Aug 12, 2022): Coming right up.
Author
Owner

@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 ...

$ script
$ tmux attach -d
$ # REPRO
$ # DETACH
$ exit
Blah blah saved to typescript

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!)

@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 ... ``` $ script $ tmux attach -d $ # REPRO $ # DETACH $ exit Blah blah saved to typescript ``` 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!_)
Author
Owner

@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␍␊
␛[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
␛[m$␣␛]0;akulbe@chatter:␣␇␛[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␍␊
Script␣started,␣output␣log␣file␣is␣'typescript'.␍␊
␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m
␛[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␍␊
␛[?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[␛[mblkshp@about/windows/staff/blkshp␛[90m]␣[␛[mTue␣Oct␣␣5␣00:31:23␣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
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-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␣␛[1m
not*␛[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␍␊
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
␛[m$␣script␛[K␍␊
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): ␛[?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␍␊ ␛[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~␛[m$␣␛]0;akulbe@chatter:␣~␇␛[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␍␊ Script␣started,␣output␣log␣file␣is␣'typescript'.␍␊ ␛[?2004h␛[32m␛[1makulbe@chatter␛[m:␛[34m␛[1m~␛[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␍␊ ␛[?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␍␊ 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␣␛[1m*any*␛[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~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-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<TAB>␣#␣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>␣␛[m*np␛[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␣␛[1m*not*␛[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␣␛[1m*not*␛[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␍␊ 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~␛[m$␣script␛[K␍␊ 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
Author
Owner

@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.

@akulbe commented on GitHub (Aug 12, 2022): [typescript.txt](https://github.com/microsoft/terminal/files/9329956/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.
Author
Owner

@j4james commented on GitHub (Aug 12, 2022):

2. Somebody is using the DTTERM window manipulation control sequences and resizing the backing console

Yep. There's a ␛[8;65;124t near the start of the first log.

@j4james commented on GitHub (Aug 12, 2022): > 2\. Somebody is using the DTTERM window manipulation control sequences and resizing the backing console Yep. There's a `␛[8;65;124t` near the start of the first log.
Author
Owner

@akulbe commented on GitHub (Aug 12, 2022):

@j4james So I'm not sure what that means, exactly. (what @DHowett said for #2) 😂 ELI5, perhaps?

@akulbe commented on GitHub (Aug 12, 2022): @j4james So I'm not sure what that means, exactly. (what @DHowett said for #2) 😂 ELI5, perhaps?
Author
Owner

@DHowett commented on GitHub (Aug 12, 2022):

Dang @j4james, you're good. I missed that entirely! I found the \e[22;0;0t later and learned a thing or two, though.

Hmm. script believes the window to already be 124x65 in the second transcript... and I'm not seeing the same sequence over there.

@DHowett commented on GitHub (Aug 12, 2022): Dang @j4james, you're good. I missed that entirely! I found the `\e[22;0;0t` later and learned a thing or two, though. Hmm. `script` believes the window to already be 124x65 in the second transcript... and I'm not seeing the same sequence over there.
Author
Owner

@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): 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.
Author
Owner

@akulbe commented on GitHub (Aug 12, 2022):

my_WT_setup

@akulbe commented on GitHub (Aug 12, 2022): ![my_WT_setup](https://user-images.githubusercontent.com/123279/184448453-3d2ec2fa-7914-40b8-9abb-803a8ca7007a.jpg)
Author
Owner

@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 script transcript, around the bottom of the screen for the purposes of manipulating the status line:

### in this line, we switch to 2;62, 1;65, 2;62, 1;65, 2;62, 1;65, 2;62, landing on 1;65
### contents: status line, a number of messages above the status line
### approximately line 115 in typescript.txt
[0] 1:irssi* 2:bash-                                                                               "chatter" 14:21 12-Aug-22\e(B\e[m\e[?12l\e[?25h\e[64;34Ht\e[Kh\e[Ka\e[Kt\e[K \e[Km\e[Ka\e[Kk\e[Ki\e[Kn\e[Kg\e[K \e[Kd\e[Ko\e[Kt\e[Kf\e[Ki\e[Kl\e[Ke\e[Ks\e[K \e[Kh\e[Ki\e[Kd\e[Kd\e[Ke\e[Kn\e[K\e[2;62r\e[2;1H\e[1M\e[62;1H\e[1L\e[62;1H14:21 \e[90m<\e[39m geirha\e[90m>\e[39m !hidden\e[K\e[1;65r\e[64;61H\e[2;62r\e[2;1H\e[1M\e[62;1H\e[1L\e[62;1H14:21 \e[90m<\e[39m greybot\e[90m>\e[39m Why files starting with dot (.) are "hidden": http://mywiki.wooledge.org/Hidden\e[K\e[1;65r\e[64;61H \e[Kw\e[Kas\e[K \e[Kx\e[Ko\e[Kn\e[K\b\e[K\b\e[K\b\e[Kc\e[Ko\e[Kn\e[Ks\e[Ki\e[Kd\e[Ke\e[Kr\e[Ke\e[Kd\e[K \e[Ka\e[K \e[Km\e[Ki\e[Ks\e[Kt\e[Ka\e[Kk\e[Ke\e[K\e[2;62r\e[2;1H\e[1M\e[62;1H\e[1L\e[62;1H14:21 \e[90m<\e[39m \e[1mSuperLag\e(B\e[m\e[90m>\e[39m read somewhere recently, that making dotfiles hidden was considered a mistake\e[K\e[64;9H\e[K\e[1;65r\e[64;9H\e[2;62r\e[2;1H\e[2M\e[61;1H\e[2L\e[61;1H14:21 \e[90m<\e[39m Friithian\e[90m>\e[39m dotfiles are only really special in that they start with a dot… and that's about it. Some things just \e[K\e[62;20Hdecided to not show files starting with a dot\e[K\e[1;65r\e[64;9H\e[63;1H\e[37m\e[44m \e[36m[\e[37m14:22\e[36m]
### here, we switch to 1;64, 2;64
\e(B\e[m\e[1;64r\e[1;1H\e[2;64r\e[63S\e[1;1H\e[K\n
### back to the top of the screen, where we render the conversation from 14:03 again
14:03 \e[90m<\e[39m larryv\e[90m>\e[39m doubt.\e[K\n
@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 `script` transcript, around the bottom of the screen for the purposes of manipulating the status line: ``` ### in this line, we switch to 2;62, 1;65, 2;62, 1;65, 2;62, 1;65, 2;62, landing on 1;65 ### contents: status line, a number of messages above the status line ### approximately line 115 in typescript.txt [0] 1:irssi* 2:bash- "chatter" 14:21 12-Aug-22\e(B\e[m\e[?12l\e[?25h\e[64;34Ht\e[Kh\e[Ka\e[Kt\e[K \e[Km\e[Ka\e[Kk\e[Ki\e[Kn\e[Kg\e[K \e[Kd\e[Ko\e[Kt\e[Kf\e[Ki\e[Kl\e[Ke\e[Ks\e[K \e[Kh\e[Ki\e[Kd\e[Kd\e[Ke\e[Kn\e[K\e[2;62r\e[2;1H\e[1M\e[62;1H\e[1L\e[62;1H14:21 \e[90m<\e[39m geirha\e[90m>\e[39m !hidden\e[K\e[1;65r\e[64;61H\e[2;62r\e[2;1H\e[1M\e[62;1H\e[1L\e[62;1H14:21 \e[90m<\e[39m greybot\e[90m>\e[39m Why files starting with dot (.) are "hidden": http://mywiki.wooledge.org/Hidden\e[K\e[1;65r\e[64;61H \e[Kw\e[Kas\e[K \e[Kx\e[Ko\e[Kn\e[K\b\e[K\b\e[K\b\e[Kc\e[Ko\e[Kn\e[Ks\e[Ki\e[Kd\e[Ke\e[Kr\e[Ke\e[Kd\e[K \e[Ka\e[K \e[Km\e[Ki\e[Ks\e[Kt\e[Ka\e[Kk\e[Ke\e[K\e[2;62r\e[2;1H\e[1M\e[62;1H\e[1L\e[62;1H14:21 \e[90m<\e[39m \e[1mSuperLag\e(B\e[m\e[90m>\e[39m read somewhere recently, that making dotfiles hidden was considered a mistake\e[K\e[64;9H\e[K\e[1;65r\e[64;9H\e[2;62r\e[2;1H\e[2M\e[61;1H\e[2L\e[61;1H14:21 \e[90m<\e[39m Friithian\e[90m>\e[39m dotfiles are only really special in that they start with a dot… and that's about it. Some things just \e[K\e[62;20Hdecided to not show files starting with a dot\e[K\e[1;65r\e[64;9H\e[63;1H\e[37m\e[44m \e[36m[\e[37m14:22\e[36m] ### here, we switch to 1;64, 2;64 \e(B\e[m\e[1;64r\e[1;1H\e[2;64r\e[63S\e[1;1H\e[K\n ### back to the top of the screen, where we render the conversation from 14:03 again 14:03 \e[90m<\e[39m larryv\e[90m>\e[39m doubt.\e[K\n ```
Author
Owner

@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:23 or 14:24.

@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:23` or `14:24`.
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18157