6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
I am in search of unix command which can search a particular pattern in all files which are created/modified today ONLY. Which is the best way to achieve this?
Thanks in advance. (1 Reply)
Discussion started by: Nakul_sh
1 Replies
2. Shell Programming and Scripting
If I am searching for AA then then BB in a loop, how do I make the output always contain 6 columns of comma separated data even when there may only be 4 search matches?
AA11
AA12
AA13
AA14
BB11
BB12
BB13
BB14
BB15
BB16
Final output:
AA11,AA12,AA13,AA14,,,... (14 Replies)
Discussion started by: jojojmac5
14 Replies
3. Shell Programming and Scripting
I am using GAWK to search for a specific pattern:
gawk '{IGNORECASE=1;} /<a href=/&&/\$/,/<\/a/' index.html
<a class=author href="http://washingtondc.craigslist.org/search/?areaID=10&amp;catAbb=sss&amp;query=ps vita" title="craigslist washington, DC | all fo
r sale / wanted search "ps... (1 Reply)
Discussion started by: metallica1973
1 Replies
4. Shell Programming and Scripting
Hello ,
When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies
5. Shell Programming and Scripting
Hi all,
I'm new to awk and I'm experiencing syntax error that I don't know how to resolve. Hopefully some experts in this forum can help me out.
I created an awk file that look like this:
$ cat myawk.awk
BEGIN {
VAR1=PATTERN1
VAR2=PATTERN2
}
/VAR1/ { flag=1 }
/VAR2/ { flag=0 }
{... (7 Replies)
Discussion started by: hk18
7 Replies
6. Shell Programming and Scripting
Hi, I am a newbie at Unix scritping, and I have a question.
Looking at the search functionality on Unix. Here I have a structure
root---------dir1 ------- file1, file2, file3
|_____dir2 ______file1@, file4
|_____dir3_______file1@, file5
Under root directory, I... (4 Replies)
Discussion started by: nj302
4 Replies