Page Menu
Home
Miraheze
Search
Configure Global Search
Log In
Paste
P148
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Paladox
on Nov 30 2018, 01:11.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F869723:
Nov 30 2018, 01:11
2018-11-30 01:11:53 (UTC+0)
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'")
Event Timeline
Paladox
created this paste.
Nov 30 2018, 01:11
2018-11-30 01:11:53 (UTC+0)
Log In to Comment