bash:rev
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
bash:rev [2020/07/15 09:30] โ external edit 127.0.0.1 | bash:rev [2021/01/26 16:07] (current) โ removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== BASH - rev ====== | ||
- | |||
- | rev โ reverse lines of a file or files | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | echo this is to be reversed | rev | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | <code bash> | ||
- | desrever eb ot si siht | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | rev .bash_profile | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | <code bash> | ||
- | eliforp_hsab. # | ||
- | |||
- | snoitcnuf dna sesaila eht teG # | ||
- | neht ;] crhsab./~ f- [ fi | ||
- | crhsab./~ . | ||
- | if | ||
- | |||
- | smargorp putrats dna tnemnorivne cificeps resU # | ||
- | |||
- | nib/ | ||
- | |||
- | HTAP tropxe | ||
- | </ | ||
bash/rev.1594805433.txt.gz ยท Last modified: 2020/07/15 09:30 by 127.0.0.1