computer touching 

big fan of the utterly incomprehsible

outdir="$(echo "${dir}" | sed "s/${postsdir//\//\\/}/${outputpostdir//\//\\/}/; s/\/\(\w\|-\)*$/\/${title}"/)"

currently residing in my bash script

Follow

re: computer touching 

@wallhackio the sepurrator fur sed’s s command can be any character, so long as it is consistent throughout the length of the command

sed s@/dir@/otherdir@ requires no escaped furward slashes

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.