Using pipes with swift

How-to questions and answers

Using pipes with swift

Postby manojb » Fri Mar 16, 2007 2:17 pm

Hi,

I would really appreciate if someone could answer this for me.

I am trying to use swift to read from a pipe using the following command line.

cat m.txt | /opt/swift/bin/swift -o m1.wav -f -

However this doesn't work. I was expecting this to work like regular unix commands like the following:

tar <sometar.gz> file | gzip -d

The above approach is significantly faster than untar to a file and the gzip. I was trying to achive the same functionality using the above pipe line.

Thanks a lot for reading this,

Manoj.
manojb
 
Posts: 19
Joined: Fri Mar 09, 2007 3:35 pm

Postby hailong » Wed Mar 21, 2007 7:52 am

It is known that using pipe for swift with large amount of text could potentially cause problems. Swift provides an option -f <textfile> to pass large amount of text.
Travel Around.
hailong
 
Posts: 4
Joined: Tue Jan 23, 2007 10:46 am
Location: Pittsburgh, PA


Return to How do I... ?

Who is online

Users browsing this forum: No registered users and 13 guests

cron