Development > Scripting and Bash

cat commands

(1/1)

firenice03:

--- Quote from: colin on May 12, 2017, 12:25:19 PM ---Sorry about the delay but i really forgot to checkup on this post and to say a big thanks to firenice03 for the links.

--- End quote ---

 ;D ;D ;D

Glad it helped

 ;D ;D ;D

colin:
Sorry about the delay but i really forgot to checkup on this post and to say a big thanks to firenice03 for the links.

firenice03:
@colin

You may find the links below helpful  ???
*Add* I see you found an option - these may have some benefit to you....

https://www.howtogeek.com/278599/how-to-combine-text-files-using-the-cat-command-in-linux/

https://serverfault.com/questions/172284/linux-cat-with-separators-among-files

colin:
Have used <(echo) like so, :~$ cat file1 <(echo) file2 and it does the job.

colin:
When i want to open more than one file i just type: cat file1 file2 press Enter and the files appear one on top of the other. Is there a way to put a space between these files?  Thanks

 

Navigation

[0] Message Index

Go to full version