be forewarned that a bash fan is writing this message with little to no
perl/c++ experience.
i have a file $file that is full of usernames and descriptions, one per
line. i have another variable $username that i would like to compare against
each line in the file and remove the line that matches
On Thursday 17 May 2001 13:58, [EMAIL PROTECTED] wrote:
i would think that a while loop could do this and possibly write the
output, minus the line i want to take away to a temp file and then copy
it over. in bash i would use a statement like:
while read i; do
blah
done $filename
[EMAIL PROTECTED] wrote:
i have a file $file that is full of usernames and descriptions, one per
line. i have another variable $username that i would like to compare
against
each line in the file and remove the line that matches the
username field identically.
$filename
charles routers
3 matches
Mail list logo