linux - Bash separation of line with newlines instead of spaces -


I have made two of the following commands:

In the past, I listed the contents of the directory and It was stored in it variable The second shows the contents of a variable

Enter image details here

I have now decided That I want to separate listings, not with spaces, but with Newline, I do the following: here Enter image details

Why do I get a mess?

It is worth noting that when I changed the command, I did the work:  Enter the image Please describe here

Can anyone please explain, why 0x20 or 32 (I also tried this number) in this case Bash is not treated as space ?

tr simply does not recognize hex but octal will work: < / P>

  tr '\ 040' '\ n'  

and an easy way to show your files

  shop-to Nologlob ## Optional Printf '% s \ n' * *  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -