Page MenuHomeMiraheze
Paste P148

(An Untitled Masterwork)
ActivePublic

Authored by Paladox on Nov 30 2018, 01:11.
Tags
None
Referenced Files
F869723:
Nov 30 2018, 01:11
Subscribers
None
while read -r output;
do
# use double quotes with "$output" to avoid conversion
# of tabs to spaces and set awk's Field Separator to "\t"
# echo "$output" | awk -F"\t" '{print $4}'
wiki1=""$output" | awk -F"\t" '{print $0}"
wiki1=""$output" | awk -F"\t" '{print $1}"
echo $wiki1
echo $wiki2
done< <(mysql -u root -toor nonciclopediawiki -e "SELECT * from page where page_namespace = '6'")