The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 4 of 4
Search took
0.00
seconds.
Search:
Posts Made By:
mos33
Forum:
Red Hat
04-13-2011
8
copy & replace text
3,864
Posted By
mos33
Thank u very much
Thank u very much
Forum:
Red Hat
04-13-2011
8
copy & replace text
3,864
Posted By
mos33
the command : awk...
the command :
awk 'NR==FNR{split($0,a);getline}/at/{$2=a[++c]}1' file1 file2 > newfile
is very useful but still printing the content of file1 to the output, how can i avoid this??
Forum:
Red Hat
04-13-2011
8
copy & replace text
3,864
Posted By
mos33
It is the content of each file: file1.txt: ...
It is the content of each file:
file1.txt:
file2.sh: >>"a script file"
#!/bin/sh
at 11:11
cp /qq/event.call /var/spool/asterisk/outgoing/
chmod 777...
Forum:
Red Hat
04-13-2011
8
copy & replace text
3,864
Posted By
mos33
copy & replace text
how can i copy a certain word from a text file then use this word to replace in another text file??
i tried to use something like:
awk '{print "Hit the",$1,"with your",$2}' /aaa/qqqq.txt > uu.txt...
Showing results 1 to 4 of 4
Member Badges and Information Modal
×