Search Results

Search: Posts Made By: amuthiga
3,003
Posted By amuthiga
Thanks mk1216. Works. Please explain how ...
Thanks mk1216.
Works.
Please explain how
phonenum=`tail -1 number.txt | cut -d"+" -f2`
get the number in add the plus.

Thanks Again.
3,003
Posted By amuthiga
Thank you mk1216. The code worked. I one day...
Thank you mk1216.

The code worked. I one day old in regards to working with awk and sed. Would explain what tail -1 test | cut -d"+" -f2 means. Also how do I append the + back when assigning the...
3,003
Posted By amuthiga
Capturing a number at the end of line and store it as variable
Hello, Would someone guide me on how to write a shell script the would search for a phone no using at the end text file using sed or awk and store it in a varaible or print it.

The text file is...
Showing results 1 to 3 of 3

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