It is used to display or make a copy content of one or more files in the terminal.
lcat "filepath"
→ displays content of the file in the terminallcat "filepath1" "filepath2" "filepath3" ...
→ displays content of all files in the terminal(contactinated form) in the given orderlcat -s "filepath"
→ convert bigger line breaks into a singular line breaklcat -n "filepath"
→ give numbering to all the lineslcat -b "filepath"
→ give numbering to non-empty lineslcat "filePath" > filename2Path
→ put all the content of filename into filename2Path by overriding and also creates filename2 if it doesn't existlcat "filePath" >> filename2Path
→ append all the content of filename into filename2Path and also creates filename2 if it doesn't existlcat -s "filename" > filename2
→ get the file content of filename remove large spaces and save the output in filename2
lcat -s -n "filepath" "filepath2" ...
→ convert bigger line breaks into a singular line break and give numbering to all the lineslcat -s -b "filepath" "filepath2" ...
→ convert bigger line breaks into a singular line break and give numbering to non-empty lines
- Clone this repository.
- Make sure you have latest version of
Node.js LTS
installed in your system. - Open the CMD/Terminal in the folder and run the command
npm link
- It will make
lcat
as a global command on your system. (lcat is small 'L' cat) - That's it.