Search Results

Search: Posts Made By: benwiggy
5,362
Posted By benwiggy
It all seems to be working now. Athough I'm still...
It all seems to be working now. Athough I'm still having trouble caused by asterisks in the text. How can I stop the shell from interpreting "*********" as an instruction to display a folder listing?
5,362
Posted By benwiggy
Ah. OK. I have seen this in other scripts, so...
Ah. OK. I have seen this in other scripts, so thought it was necessary. Interestingly, removing the braces has fixed the lack of tabs and linefeeds, so perhaps braces in this form DO do something.
...
5,362
Posted By benwiggy
Many thanks. That's made the code simpler for...
Many thanks. That's made the code simpler for starters.
It's also sorted out the problems of the linebreaks in the second bit; but the lack of tabs and linebreaks in the awk command is still there....
5,362
Posted By benwiggy
Problems with Sed/awk/grep and line endings
Hello
I have created the following script, which is designed to manipulate a text document:
#!/bin/sh
# Get 3 lines, (last of which is "Quantity"); adjust order; put all three on one line with...
Showing results 1 to 4 of 4

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