Search Results

Search: Posts Made By: bipbip
3,230
Posted By bipbip
help with printf command
hello,


I'm trying to display Unix variable using printf command.

Code:

awk '{ if ( $0 ~ /string/ ) {
printf( "%s\n%s\n",$0,"dsd"); #this one works
printf( "%s\n%s\n",$0,$HOME);...
3,603
Posted By bipbip
Modify a file by another file: add new line and variable after string is found
hello,

I have problem with writing/adjusting a shell script.
I searched forum and unfortunately couldn't write scipt based on the information I found.
I never wtire such so it's hard for me and...
Showing results 1 to 2 of 2

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