Search Results

Search: Posts Made By: sharfah
2,352
Posted By sharfah
Use double quotes instead of single quotes: ...
Use double quotes instead of single quotes:

while read pattern; do grep "$pattern" first; done < second
2,352
Posted By sharfah
Why doesn't the loop work? What output do you get...
Why doesn't the loop work? What output do you get and what are your inputs?
2,352
Posted By sharfah
Try a loop: while read pattern do ...
Try a loop:

while read pattern
do
agrep $pattern secondlist.txt
done < firstlist.txt

or

agrep -f firstlist.txt secondlist.txt

The -f option tells agrep to read patterns from the...
45,224
Posted By sharfah
Looks ok to me. You can find a complete...
Looks ok to me.

You can find a complete shell script example here:
fahd.blog: Creating a Report with SQLPlus (http://fahdshariff.blogspot.com/2009/05/creating-report-with-sqlplus.html)
8,163
Posted By sharfah
You will have to ask an administrator to restore...
You will have to ask an administrator to restore the directory /var/spool/cron/crontabs from tape backup.

This is the reason why, in all my crontabs, I always have a daily backup script:

01 00...
Forum: Programming 05-08-2009
7,384
Posted By sharfah
To go to line 1: 1 Shift+G To go to...
To go to line 1:

1 Shift+G

To go to line n:

n Shift+G

To go to the last line:

Shift+G
Showing results 1 to 6 of 6

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