Search Results

Search: Posts Made By: markc
13,282
Posted By markc
One awk solution
Well here is one fairly simple solution using awk. The main point for me, which the native bash for loop did not allow for, is to be able to pipe the input into the command so I can easily insert...
7,067
Posted By markc
I don't use ksh but my guess is that when ls...
I don't use ksh but my guess is that when ls cannot find any *.txt files then the ls command exits with a return value greater than zero and if zsh -f is the same as set -e in bash then the script...
13,282
Posted By markc
reverse tokens with sed
I currently use this bash for loop below to reverse a set of tokens, example "abc def ghi" to "ghi def abc" but in looking at various sed one liner postings I notice two methods to reverse lines of...
Showing results 1 to 3 of 3

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