Search Results

Search: Posts Made By: 76455
2,566
Posted By 76455
expr command to extract words
how to use expr command to retrieve all the words before the equal sign "=" with shell script
4,363
Posted By 76455
the input was added to the last line of the file ...
the input was added to the last line of the file
how do i make it start on a new line?

Thanks!! :D
4,363
Posted By 76455
i tried and it works but how do i make...
i tried


and it works but how do i make it a new line?
4,363
Posted By 76455
read add sed '$ a $add' file.txt it...
read add
sed '$ a $add' file.txt

it displayed the file and i can see the line was added
But i donno why when i opened the file to check the line was not there
4,363
Posted By 76455
adding a line to file
i am writing a script which will let user to input a line.
i m not sure how do i add this line to the end of a txt file ?
Showing results 1 to 5 of 5

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