pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Fun with zero-width-space in filenames
Posted by Anonymous on Tue 4th Feb 2020 15:00
raw | new post
view followups (newest first): Fun with zero-width-space in filenames by Anonymous
modification of post by Anonymous (view diff)

  1. # fun with zero-width-space in filenames
  2. ksh93 -c 'echo "secret7gis244burn8" >"$(maxfilenamelen=$(getconf NAME_MAX "$PWD") ; printf "foo" ; for((i=0 ; i < (maxfilenamelen/3-10) ; i++)) ; do print -f "\u[200b]" ; done ; printf "bar.txt")"'

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at