GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yourdanov/IBM: Yourdanov@IBM

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
commands
commands
 
 
README.md
README.md
 
 

Repository files navigation

Yourdanov@IBM

This is a repository created by Atanas Yourdanov.

It contains different IBM usable, public codes and commands for AIX, VIOS, Linux and IBM i operating systems.

In command directory you will find:

1. Large files search

Search a text string within large text file with showing the lines before and lines after the match:

awk 'c-->0;$0~s{if(b)for(c=b+1;c>1;c--)print r[(NR-c+1)%b];print;c=a}b{r[NR%b]=$0}' b=X a=Y s="search text" filename
  • Search in large text file, where:

b=X -> X = lines before the match string; a=Y -> Y = lines after the match string; s="text" -> search string

The command is tested only on IBM AIX OS version 6.1 and above.

More to come in the next few months.

For any questions and discussions, please use the IBM TechXchange Power I/O User Group:

https://ibm.biz/BdmbEG

About

Yourdanov@IBM

ibm.biz/BdmbEG

Topics

aixas400awkibmibmiiolinuxpowerpower9powervmrs6000vios

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.