Problem with unix pipe command
Posted
by
Keyo
on Stack Overflow
See other posts from Stack Overflow
or by Keyo
Published on 2011-01-07T05:44:03Z
Indexed on
2011/01/07
5:53 UTC
Read the original article
Hit count: 246
linux
|command-line
I have a list of directory names in a text file. I want to use these as part of a file_name a git-svn clone command.
This prints out the contents of the file line by line.
cat repos_to_migrate.txt | tee $1
This however does not work:
cat repos_to_migrate.txt | git svn clone file:///home/svn/$1
... Unable to open repository 'file:///home/svn' ...
Any ideas here? I'f it matters I'm running centos5.
© Stack Overflow or respective owner