Leser: 1
|< 1 2 >| | 19 Einträge, 2 Seiten |
1
2
3
4
5
perl -pe "s/^(\d+)\n/'\$1', /g" < data.txt
'12345678', '91234567', '89123456', '78912345', '67891234', '56789123',
cat data.txt | perl -pe "s/^(\d+)\n/'\$1', /g"
'12345678', '91234567', '89123456', '78912345', '67891234', '56789123',
1
2
perl -pe "s/^(\d+)\n/'\$1', /g" data.txt
'12345678', '91234567', '89123456', '78912345', '67891234', '56789123',
perl -p -e 's/^(\d+)\n/"'\''$1'\''"/e'
perl -pe "s/^(.*?)(\n)?$/'$1', /; (chop, chop) if eof" t.txt
perl -pe "s/^(\d+)\n/'\$1', /g; (chop, chop) if eof"
|< 1 2 >| | 19 Einträge, 2 Seiten |