杂项

for file in `ls`
do
cat $file | grep "route-static" | awk  -F" " '{for(f=1;f<=NF;f+=1){if($f ~ /GigabitEthernet/){print file"\t"$f"\t"$(NF)}}}' file="$file" | sort | uniq
done
    print_r($_SERVER['HTTP_HOST']);
    print_r(current_url());

    echo "
"; echo SELF."
".BASEPATH."
".FCPATH."
".APPPATH."
".VIEWPATH; echo "
"; print_r(get_config()); echo "
"; echo config_item('base_url');

 

你可能感兴趣的:(杂项)