Sample Header Ad - 728x90

combine multiple commands like tr, iconv and dd

2 votes
2 answers
254 views
New to shell scripting, I have few commands like this. Is it optimal to have such temporary files or should I try to combine all these commands ? if it is latter, can you help me to redirect output from dd command to tr command and then to iconv. Thanks. dd if=abcd.dat cbs=38 conv=block of=abcd.temp cat abcd.temp | tr -d "\n" | tr -d "\r" > abcd.output iconv -f ASCII -t EBCDIC-US abcd.ebcdic
Asked by Ram (25 rep)
Aug 4, 2021, 08:36 PM
Last activity: Aug 4, 2021, 09:08 PM