Search Results

Search: Posts Made By: DDD
3,685
Posted By DDD
Thanks!!! It works!
Thanks!!! It works!
3,685
Posted By DDD
Variable assignment question
Hello,

I would like to assign number of lines in a file to a variable (to be passed later as an argument to a function). I am doing it like this:

numLines=wc -l < file.txt

which gives an...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy