Search Results

Search: Posts Made By: rc7
7,070
Posted By rc7
You can do it with awk: echo $URL_DATA | awk -F...
You can do it with awk:
echo $URL_DATA | awk -F '<p><a href="|">|-</a><font size="-1"> |</font>' 'BEGIN{RS="</p> "; OFS="\n"; ORS="\n\n"} {print $2,$3,$4}'
2,238
Posted By rc7
Bash has a built-in operator -ne for integer...
Bash has a built-in operator -ne for integer comparison. I would re-write the code for checking number of argument as:
if [ $# -ne 2 ]; then
55,480
Posted By rc7
# Script to create menus and take action...
# Script to create menus and take action according to that selected menu item.
#
#
while :
do
clear
echo "----------------------------------------------"
echo " * * * * * * * Main Menu...
Forum: Linux 08-23-2008
3,579
Posted By rc7
Another (simpler) way of using awk: awk...
Another (simpler) way of using awk:
awk 'BEGIN{FS="\n";RS="";OFS="."} {print $1,$2,$3,$4}' file
Showing results 1 to 4 of 4

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