Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yourdanov/ibm
Yourdanov@IBM
https://github.com/yourdanov/ibm
aix as400 awk ibm ibmi io linux power power9 powervm rs6000 vios
Last synced: 5 days ago
JSON representation
Yourdanov@IBM
- Host: GitHub
- URL: https://github.com/yourdanov/ibm
- Owner: yourdanov
- Created: 2022-09-08T15:31:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T10:21:02.000Z (6 months ago)
- Last Synced: 2024-10-09T18:58:17.257Z (27 days ago)
- Topics: aix, as400, awk, ibm, ibmi, io, linux, power, power9, powervm, rs6000, vios
- Homepage: https://ibm.biz/BdmbEG
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 stringThe 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