Search Results

Search: Posts Made By: mk1216
4,318
Posted By ctsgnb
Another idea that could be dig a bit more : ...
Another idea that could be dig a bit more :

fold -w 1 infile | awk '/"/{f=!f} f{ .... }'
4,318
Posted By DC Slick
.Do you want to replace ALL commas in your script...
.Do you want to replace ALL commas in your script to something else? sed -i "s/\,/\|/g" infileChanges all commas to the pipe

Before using sed -i, do it without the -i so you can see what it'll do...
4,318
Posted By ctsgnb
Give a try to : sed...
Give a try to :
sed 's:\("[^",][^",]*\),\([^"]*"\):\1\2:g' infileNote that if you have more than 1 coma within the double quote, it will only remove 1 so you may have to run it several times

#...
Forum: HP-UX 11-23-2010
17,517
Posted By Franklin52
Unless escaped with a backslash (\) percent-signs...
Unless escaped with a backslash (\) percent-signs (%) in the command will be interpreted as newline characters.
Forum: HP-UX 11-23-2010
17,517
Posted By Franklin52
Try these date formats: $(date +\%Y\%m\%d) ...
Try these date formats:
$(date +\%Y\%m\%d)

or:
$(date '+%Y%m%d')
Showing results 1 to 5 of 5

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