Hi,
I have this line in a script to join all the lines of file and separate them using
When I run the script, it gives me message
What am I doing wrong here?
I have this line in a script to join all the lines of file and separate them using
,
Code:
#! /bin/sh
list=`wget -qO- https://somesite.com/file | awk NF | sed "a;N;s/\n/,/g;ta"`
sed: 1: ":a;N;s/\n/,/g;ta": unused label 'a;N;s/\n/,/g;ta'
What am I doing wrong here?
Last edited by a moderator: