Skip to content

parthakonda/shell-read-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shell-read-file

A shell script to read file line by line

Note: In the input file you need to have a new line ends with. See input.txt.

Run script

cd path_to_shell-read-file/
chmod u+x read.sh

With no input

./read.sh 

The above will throw error

With invalid input

./read.sh dummy

The above will throw error

With valid input

./read.sh ./input.txt

The above will display the data

Author

ParthaSaradhiKonda<parthasaradhi.konda@gmail.com>

About

A shell script to read file line by line

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages