Search Results

Search: Posts Made By: Sourav Das
14,446
Posted By Sourav Das
@neutronscott : Thanks for your solution. It...
@neutronscott : Thanks for your solution. It worked.
@vgersh99 : Its not working. May be because you are not mentioning the existing fileseperator in the script
14,446
Posted By Sourav Das
Thanks vgersh99 .. It worked ... Thanks a lot .. ...
Thanks vgersh99 .. It worked ... Thanks a lot ..

---------- Post updated at 03:54 PM ---------- Previous update was at 12:12 PM ----------

Need another help. Is there a way to replace the...
14,446
Posted By Sourav Das
vgersh99, Thanks for your response. The command...
vgersh99,
Thanks for your response. The command line appened two tabs at the end of each line. Can you please explain as how the statement works?

Also, the \t\t that you have hardcoded will be...
14,446
Posted By Sourav Das
If you see , the script , I have two lines ...
If you see , the script , I have two lines

##======== This doesn't work =============================
awk '{print $0 rsuffix}' TESTDATA.txt > TEMP1.txt
##======== This works...
14,446
Posted By Sourav Das
I don't have any reservations of using awk. If my...
I don't have any reservations of using awk. If my requirement of adding char to end of line is acheived by some other means , I am ok with it

---------- Post updated at 10:47 AM ----------...
14,446
Posted By Sourav Das
Alister, Thanks for your reply but I am unable...
Alister,
Thanks for your reply but I am unable to correlate your solution with my requirement.. Can you please explain as how I will incorporate your solution to my requirement?

Regards,
Sourav
14,446
Posted By Sourav Das
Thanks for your reply .. Eventhough I used...
Thanks for your reply ..
Eventhough I used "$RSUFFIX" , I am not seeing any change in my output i.e. no char are appended to the last line of each record.

Below is my current code and I am...
14,446
Posted By Sourav Das
Thanks for the reply... I tried assigning the...
Thanks for the reply... I tried assigning the shell variable to an awk variable and used the same in the awk command but this didn't work.\

I used
nawk -v rsuffix=$RSUFFIX 'BEGIN { print...
14,446
Posted By Sourav Das
Adding tab/new line at the end of each line of a file
Hello Everyone,

I need a help from experts of this community regarding one of the issue that I am facing with shell scripting.

My requirement is to append char's at the end of each line of a...
Showing results 1 to 9 of 9

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