Search Results

Search: Posts Made By: stewie griffin
3,892
Posted By stewie griffin
ok this worked: grep -v '^-' > $1 << here ...
ok this worked:

grep -v '^-' > $1 << here
`cat $1 $2`
here


thanks a lot!
3,892
Posted By stewie griffin
well, I can't change file1 and the order should...
well, I can't change file1 and the order should be file1 and then file2
3,892
Posted By stewie griffin
ok, so is there anyway to do it without temporary...
ok, so is there anyway to do it without temporary file?
3,892
Posted By stewie griffin
output redirection in scripts
I am trying to write a script that will remove any line in 2 given text files
starting with '-'.
the output should be to the second file.
this is what I tried:

#!/bin/csh -f
cat $1 $2 | grep...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy