Created
April 8, 2015 01:29
-
-
Save honux77/e5d4fa61ab9b88c4b87d to your computer and use it in GitHub Desktop.
Tenth Line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Read from the file file.txt and output the tenth line to stdout. | |
| for i in $(seq 1 10) | |
| do | |
| read line | |
| done < "file.txt" | |
| echo $line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment