Reputation: 97
I have being trying to write some scripts in both unix and windows environment. I am facing problem when trying to write equivalent windows command for:
cmd = "cat raw_data.txt | awk -F\"}\" '{for(i =1; i<=NF-1; i++){print $i\"}\"}}' | sed 's/^,//' | sed 's/^[ \t]*//;s/[ \t]*$//' | sed 's/^{//; s/}$//'"
Upvotes: 2
Views: 39208
Reputation: 124
type file1 >> file2
as
cat file1 file2 > file3
type is the one used equivalent to cat command but it can have only part of its functionality
Upvotes: 5