Tag Info

Hot answers tagged

3

You can simply use tr utility: tr '-' $' ' < filename Output: 123 zyx 234 yxw 345 xwv 456 wvu 567 vut 678 uts You can sed like this: sed 's/-/ /g' < filename Output: 123 zyx 234 yxw 345 xwv 456 wvu 567 vut 678 uts


1

awk solution: awk 'BEGIN{FS="-"} ; { print $1,$2 }' file


1

You should use <Location> instead of <Directory>. <Location /my_folder/> Order Deny,Allow Deny from all Allow from 1.1.1.1 </Location> See document on sections for Apache 2.2, Apache 2.4.



Only top voted, non community-wiki answers of a minimum length are eligible