Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
Can anyone explain me the below and please tell me why it is not accepting large number of strings. sed ':a;s/(([^,|]+)[|,].*)\2/\1/;ta;y/,/|/;s/||/|/g' file_nm |
|
Re:
Hi, I am reading a command in shell script using sed: echo $1 | sed -e "s/^[^=]*=\(.*\)$/\1/" what I don't understand is the sed command. I only know it tries to substitute "^[^=]*=\(.*\)$/" with "\1" and 1 is one of the positional parameters got from invoking the shell script, but … |