Search Results

Search: Posts Made By: Bubnoff
8,626
Posted By radoulov
You can use something like this: awk -F:...
You can use something like this:

awk -F: '/=/ { print x }
NF > 2 { printf "%s", $0; next }
{ printf "%s", $2 }' infileGiven the fixed format, you could also write something like this:

awk 'NF...
8,626
Posted By radoulov
Because you put the RS assignment in the wrong...
Because you put the RS assignment in the wrong place.
Put the RS assignment outside of the code:

awk -v RS='\n' ...Please post an example of the desired output based on the previously posted...
3,729
Posted By john1212
try include(`bash_macros.m4') ...
try

include(`bash_macros.m4')
START_SCRIPT(`fake_script',`Automation Dept.')dnl
GLOBALS()
SANITY_CHECKS()
FUNCTIONS()
MAIN()
END_SCRIPT()
3,729
Posted By Scrutinizer
Hi, I do not know where you can find it online.....
Hi, I do not know where you can find it online.. FWIW, I checked my O'Reilly Sendmail book and it is in paragraph 19.1.2 (m4 and dnl).
6,983
Posted By a_programmer
can't you do something like? ssh...
can't you do something like?


ssh user@hostname "$(cat hours.sh)"
12,653
Posted By alister
while IFS=\<tab> read -r b c; do rand_pass...
while IFS=\<tab> read -r b c; do
rand_pass "$b" "$c"
done < "$file"

Replace <tab> with an actual tab character, if, as your awk implies, the file's records contain tab-delimited fields.
...
Showing results 1 to 6 of 6

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