Search Results

Search: Posts Made By: meadhere
17,144
Posted By meadhere
i have managed to do it by directing the contents...
i have managed to do it by directing the contents of the line to a temp file and then adding the contents of the file to the temp file and put all the contents of the temp file in the original file...
17,144
Posted By meadhere
because i am learning shell scripting from a...
because i am learning shell scripting from a dummies type book and in the exercises at the back it says to do it without using sed or ack which we have not been taught yet so i could not anyway....
17,144
Posted By meadhere
Shell scripting adding text to top of file
Hi this is quite simple i am sure but without using awk or sed i need to add text to the top of a file this is what i have got so far

#!bin/bash
echo "Add text to top of file"
read line
echo...
Showing results 1 to 3 of 3

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